From 7f7f33c8537bf591d7b83d9c3e9eba087ef9b89c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20G=2E=20J=C3=B8rgensen?= Date: Thu, 13 Oct 2011 13:10:42 +0200 Subject: [PATCH] Give focus to the search entry when showing the overview page. https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/833710 --- shell/gnome-control-center.c | 1 + 1 file changed, 1 insertion(+) diff --git a/shell/gnome-control-center.c b/shell/gnome-control-center.c index 3f1e2112c..92d256bb7 100644 --- a/shell/gnome-control-center.c +++ b/shell/gnome-control-center.c @@ -211,6 +211,7 @@ shell_show_overview_page (GnomeControlCenterPrivate *priv) g_free (priv->filter_string); priv->filter_string = g_strdup (""); gtk_entry_set_text (GTK_ENTRY (priv->search_entry), ""); + gtk_widget_grab_focus (priv->search_entry); gtk_lock_button_set_permission (GTK_LOCK_BUTTON (priv->lock_button), NULL);