Revision: 1873 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1873&view=re... Author: colombanw Date: 2011-01-23 14:26:05 +0000 (Sun, 23 Jan 2011)
Log Message: ----------- WebHelper: Fix focus grabbing after inspector window closing
Modified Paths: -------------- trunk/geany-plugins/webhelper/src/gwh-browser.c
Modified: trunk/geany-plugins/webhelper/src/gwh-browser.c =================================================================== --- trunk/geany-plugins/webhelper/src/gwh-browser.c 2011-01-23 14:25:37 UTC (rev 1872) +++ trunk/geany-plugins/webhelper/src/gwh-browser.c 2011-01-23 14:26:05 UTC (rev 1873) @@ -291,7 +291,7 @@ inspector_hide_window (self); gtk_toggle_tool_button_set_active (GTK_TOGGLE_TOOL_BUTTON (self->priv->item_inspector), FALSE); - gtk_widget_grab_focus (self->priv->web_view); + gtk_widget_grab_focus (gtk_widget_get_toplevel (self->priv->web_view));
return TRUE; }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.