pidgin/pidgin

This focus grab seems to be in the wrong place.

2012-06-06, Elliott Sales de Andrade
35de4c169b1a
Parents 87c277f64c4e
Children f333698c4652
This focus grab seems to be in the wrong place.
--- a/pidgin/gtkwebview.c Wed Jun 06 01:55:02 2012 +0000
+++ b/pidgin/gtkwebview.c Wed Jun 06 02:56:53 2012 +0000
@@ -986,8 +986,6 @@
object = g_object_ref(G_OBJECT(webview));
g_signal_emit(object, signals[CLEAR_FORMAT], 0);
g_object_unref(object);
-
- gtk_widget_grab_focus(GTK_WIDGET(webview));
}
void
--- a/pidgin/gtkwebviewtoolbar.c Wed Jun 06 01:55:02 2012 +0000
+++ b/pidgin/gtkwebviewtoolbar.c Wed Jun 06 02:56:53 2012 +0000
@@ -438,6 +438,7 @@
clear_formatting_cb(GtkAction *clear, GtkWebViewToolbar *toolbar)
{
gtk_webview_clear_formatting(GTK_WEBVIEW(toolbar->webview));
+ gtk_widget_grab_focus(toolbar->webview);
}
static void