Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EionRobb/pidgin-opensteamworks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreionrobb <eionrobb@8ca6c67d-4297-256d-f884-781da6d5760b>2011-11-23 02:02:50 +0400
committereionrobb <eionrobb@8ca6c67d-4297-256d-f884-781da6d5760b>2011-11-23 02:02:50 +0400
commit5e9d6152202daae1a2ce2c9258cc94908b7d45da (patch)
treea681b0c9f4fe3c581b4e53c970c4a128ee0c0152 /libsteamworks.h
parenta5f464cb5366f993663e554c6f50bd5e76ba63fe (diff)
Display a 'game' emblem in the buddy list if the user is in a game. also make the buddy update in the buddy list when the user starts/ends a game
Diffstat (limited to 'libsteamworks.h')
-rwxr-xr-xlibsteamworks.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsteamworks.h b/libsteamworks.h
index 3df8481..c4b5c69 100755
--- a/libsteamworks.h
+++ b/libsteamworks.h
@@ -48,6 +48,7 @@ extern "C" {
void steamworks_chat_leave(PurpleConnection *, int id);
void steamworks_join_chat(PurpleConnection *, GHashTable *components);
void steamworks_tooltip_text(PurpleBuddy *buddy, PurpleNotifyUserInfo *user_info, gboolean full);
+ const gchar *steamworks_list_emblem(PurpleBuddy *buddy);
static PurplePluginProtocolInfo prpl_info = {
(PurpleProtocolOptions) (OPT_PROTO_CHAT_TOPIC),// options
@@ -55,7 +56,7 @@ extern "C" {
NULL, // protocol_options
{"png,jpeg",0,0,64,64,0,PURPLE_ICON_SCALE_DISPLAY},// icon_spec
steamworks_list_icon, // list_icon
- NULL, // list_emblem
+ steamworks_list_emblem, // list_emblem
steamworks_status_text, // status_text
steamworks_tooltip_text, // tooltip_text
steamworks_status_types, // status_types