Give focus to the search entry when showing the overview page.

https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/833710
This commit is contained in:
Anders G. Jørgensen 2011-10-13 13:10:42 +02:00 committed by Rodrigo Moya
parent ec739861f0
commit 7f7f33c853

View file

@ -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);