Mercurial > pidgin.yaz
comparison libpurple/prpl.h @ 19461:1b5e786d137a
In the attention API, use the PURPLE_NOTIFY_MESSAGE flag to serv_got_im()
instead of manually writing to the conversation window, as suggested by sadrul
at http://pidgin.im/pipermail/devel/2007-August/002935.html. Yahoo and MSN
already use this flag to indicate an attention/notify-type message.
Also split off half of serv_got_attention() into serv_send_attention(), see
http://pidgin.im/pipermail/devel/2007-August/002940.html.
Now the attention API integrates well with the patch to add
PURPLE_MESSAGE_NOTIFY at http://hiks.net/drop/adium/libgaim.diff.
See also: https://sourceforge.net/tracker/?func=detail&atid=300235&aid=1672389&group_id=235
author | Jeffrey Connelly <jaconnel@calpoly.edu> |
---|---|
date | Mon, 27 Aug 2007 01:36:21 +0000 |
parents | 6395c2e96bc2 |
children | 3f6f84d11ce2 |
comparison
equal
deleted
inserted
replaced
19460:e5f73cebcb36 | 19461:1b5e786d137a |
---|---|
92 gboolean secret; | 92 gboolean secret; |
93 }; | 93 }; |
94 | 94 |
95 struct _PurpleAttentionType | 95 struct _PurpleAttentionType |
96 { | 96 { |
97 const char *icon_name; /**< Icon to display (optional) */ | |
98 const char *name; /**< Shown in GUI elements */ | 97 const char *name; /**< Shown in GUI elements */ |
99 const char *incoming_description; /**< Shown when sent */ | 98 const char *incoming_description; /**< Shown when sent */ |
100 const char *outgoing_description; /**< Shown when receied */ | 99 const char *outgoing_description; /**< Shown when receied */ |
100 const char *icon_name; /**< Icon to display (optional) */ | |
101 | |
102 /* Reserved fields for future purposes */ | |
103 gpointer _reserved1; | |
104 gpointer _reserved2; | |
105 gpointer _reserved3; | |
106 gpointer _reserved4; | |
101 }; | 107 }; |
102 | 108 |
103 /** | 109 /** |
104 * Protocol options | 110 * Protocol options |
105 * | 111 * |