[gnome-control-center/gnome-3-2] Give focus to the search entry when showing the overview page.
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/gnome-3-2] Give focus to the search entry when showing the overview page.
- Date: Thu, 13 Oct 2011 11:12:28 +0000 (UTC)
commit 94f76951b5971385e6d87cd2ad0c4706932a43f8
Author: Anders G. JÃrgensen <spirit55555 gmail com>
Date: Thu Oct 13 13:10:42 2011 +0200
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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/shell/gnome-control-center.c b/shell/gnome-control-center.c
index 23d1862..62a66ed 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]