summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2007-08-13 14:19:02 +0000
committerEmmanuele Bassi <ebassi@src.gnome.org>2007-08-13 14:19:02 +0000
commitedfddc5d0839c748ad45b73fd408b07b7523bb84 (patch)
treeb939dd62023318c0f5c7c90e07bd1f73ef40dc58 /src
parent1c4286ef7b4c0b663c64cc1fc1bbed30f46a0008 (diff)
downloadgnome-dictionary-edfddc5d0839c748ad45b73fd408b07b7523bb84.tar.gz
Hide the find pane when hiding the window.
2007-08-13 Emmanuele Bassi <ebassi@gnome.org> * src/gdict-applet.c: Hide the find pane when hiding the window. svn path=/trunk/; revision=7567
Diffstat (limited to 'src')
-rw-r--r--src/gdict-applet.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gdict-applet.c b/src/gdict-applet.c
index 9bfe82d..32673e7 100644
--- a/src/gdict-applet.c
+++ b/src/gdict-applet.c
@@ -436,6 +436,9 @@ gdict_applet_icon_toggled_cb (GtkWidget *widget,
}
else
{
+ /* force hiding the find pane */
+ gdict_defbox_set_show_find (GDICT_DEFBOX (priv->defbox), FALSE);
+
gtk_widget_grab_focus (priv->entry);
gtk_widget_hide (priv->window);