Mercurial > pidgin
diff src/conversation.c @ 11668:ae9d9e2add8e
[gaim-migrate @ 13953]
" A recent patch (#1326618) was applied to HEAD which
fixed tab highlighting for (un)seen messages by moving
the (un)seen stuff from core to ui. When this was done,
gaim_gtkconv_updated() was being called directly
instead of going through gaim_conversation_update().
This stopped the "conversation-updated" signal from
being emitted when the (un)seen state was changed.
In addition, I noticed another case in gtkconv.c where
gaim_gtkconv_updated() was being called directly and
two cases in conversation.c where ops->updated() was
called directly.
This patch fixes those cases by calling
gaim_conversation_update() which will emit the signal
and then call ops->updated()." -- Casey Harkins
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sat, 15 Oct 2005 16:36:50 +0000 |
parents | 38bbb0f15453 |
children | 0940c0077b8c |
line wrap: on
line diff
--- a/src/conversation.c Sat Oct 15 01:17:59 2005 +0000 +++ b/src/conversation.c Sat Oct 15 16:36:50 2005 +0000 @@ -532,9 +532,7 @@ conv->features = features; - ops = conv->ui_ops; - if(ops && ops->updated) - ops->updated(conv, GAIM_CONV_UPDATE_FEATURES); + gaim_conversation_update(conv, GAIM_CONV_UPDATE_FEATURES); } @@ -628,10 +626,7 @@ conv->title = g_strdup(title); - ops = gaim_conversation_get_ui_ops(conv); - - if (ops != NULL && ops->updated != NULL) - ops->updated(conv, GAIM_CONV_UPDATE_TITLE); + gaim_conversation_update(conv, GAIM_CONV_UPDATE_TITLE); } const char *