comparison src/conversation.h @ 12797:eda1572c788b

[gaim-migrate @ 15144] SF Patch #1390008 from Sadrul "GaimGtkConv: Update tab icons, and some other small changes" This seems to make the Send To menu update better. I haven't seen this patch make anything worse yet, so I'm committing it. If you start seeing weird update errors, let Sadrul or me know. I thought I had a case of the Send To menu not updating even with this patch, but I haven't yet been able to duplicate it. Sadrul's description: '1. Fixes the tab-icons/send-to menu updates by listening for the appropriate signals. This patch removes the "updated" field from conversation-uiops. There is an existing "-updated" signal which can replace the uiops. 2. If having conversations with more than one accounts of a contact, and the buddy-icon of an inactive account is changed, then the new icon is showed (I think), even though it is not the buddy icon for the currently active conversation. This patch fixes that. 3. Emit "buddy-typing" and "-stopped" signal whenever the typing-state is changed. Currently, the typing-state of a conversation is sometimes changed without emitting the signal. This patch fixes that.' I rejected #4. '5. Emits the "chat-left" signal *after* setting "chat->left" to TRUE. 6. Show a buddy for an account only once in the SendTo menu (currently Gaim shows the same buddy more than once if the buddy exists in more than one groups). This is done by keeping a list of GaimPresence -- since that's the only thing the blist-nodes for the same buddy share.' committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 09 Jan 2006 21:29:53 +0000
parents 851b0bd7eb52
children cf3540702d21
comparison
equal deleted inserted replaced
12796:e8db8f94a2db 12797:eda1572c788b
167 /* Custom Smileys */ 167 /* Custom Smileys */
168 gboolean (*custom_smiley_add)(GaimConversation *conv, const char *smile, gboolean remote); 168 gboolean (*custom_smiley_add)(GaimConversation *conv, const char *smile, gboolean remote);
169 void (*custom_smiley_write)(GaimConversation *conv, const char *smile, 169 void (*custom_smiley_write)(GaimConversation *conv, const char *smile,
170 const guchar *data, gsize size); 170 const guchar *data, gsize size);
171 void (*custom_smiley_close)(GaimConversation *conv, const char *smile); 171 void (*custom_smiley_close)(GaimConversation *conv, const char *smile);
172
173 /* Events */
174 void (*updated)(GaimConversation *conv, GaimConvUpdateType type);
175
176 }; 172 };
177 173
178 /** 174 /**
179 * Data specific to Instant Messages. 175 * Data specific to Instant Messages.
180 */ 176 */