changeset 29648:9c928fb69ace

Reset attention toolbar button (for "expanded" toolbar view)
author Marcus Lundblad <ml@update.uu.se>
date Thu, 30 Oct 2008 21:00:12 +0000
parents 12c01afbb0ea
children f050972561d5
files pidgin/gtkimhtmltoolbar.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkimhtmltoolbar.c	Wed Oct 29 21:35:39 2008 +0000
+++ b/pidgin/gtkimhtmltoolbar.c	Thu Oct 30 21:00:12 2008 +0000
@@ -920,6 +920,8 @@
 	const gchar *who = purple_conversation_get_name(conv);
 	PurpleConnection *gc = purple_conversation_get_gc(conv);
 	
+	toggle_button_set_active_block(GTK_TOGGLE_BUTTON(toolbar->attention), FALSE, 
+		toolbar);
 	purple_conversation_attention(conv, who, 0, PURPLE_MESSAGE_SEND, time(NULL));
 	purple_prpl_send_attention(gc, who, 0);
 }