diff pidgin/gtkimhtmltoolbar.c @ 30168:dd6575f20790

pidgin: Re-set focus after clicking on the attention button. Closes #12124
author Marcus Lundblad <ml@update.uu.se>
date Mon, 07 Jun 2010 19:41:55 +0000
parents 7a28e9b12038
children 96d3f44d006d
line wrap: on
line diff
--- a/pidgin/gtkimhtmltoolbar.c	Sun Jun 06 02:17:36 2010 +0000
+++ b/pidgin/gtkimhtmltoolbar.c	Mon Jun 07 19:41:55 2010 +0000
@@ -911,6 +911,7 @@
 
 	toggle_button_set_active_block(GTK_TOGGLE_BUTTON(attention), FALSE, toolbar);
 	purple_prpl_send_attention(gc, who, 0);
+	gtk_widget_grab_focus(toolbar->imhtml);
 }
 
 static void update_buttons_cb(GtkIMHtml *imhtml, GtkIMHtmlButtons buttons, GtkIMHtmlToolbar *toolbar)