Mercurial > pidgin.yaz
diff pidgin/gtkconv.c @ 29643:bb9f7ba4f299
Added active conversation on GtkIMHtmlToolbar
Connect "Attention" button on toolbar to attention action
Print error message when failing to send attention on XMPP using prpl API
author | Marcus Lundblad <ml@update.uu.se> |
---|---|
date | Mon, 27 Oct 2008 23:12:03 +0000 |
parents | 22b8a92fb5ee |
children | 9e07b1c14075 |
line wrap: on
line diff
--- a/pidgin/gtkconv.c Mon Oct 27 23:08:32 2008 +0000 +++ b/pidgin/gtkconv.c Mon Oct 27 23:12:03 2008 +0000 @@ -2242,6 +2242,11 @@ gtkconv = PIDGIN_CONVERSATION(conv); old_conv = gtkconv->active_conv; + purple_debug_info("gtkconv", "setting active conversation on toolbar %p\n", + conv); + gtk_imhtmltoolbar_switch_active_conversation(GTK_IMHTMLTOOLBAR(gtkconv->toolbar), + conv); + if (old_conv == conv) return;