[gnome-software] App folder dialog: Grab focus to the entry



commit 3219ecdd5b8255d5216e90063d59c109a65ed6f7
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Mar 9 17:20:32 2014 -0400

    App folder dialog: Grab focus to the entry

 src/gs-app-folder-dialog.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-app-folder-dialog.c b/src/gs-app-folder-dialog.c
index b27ca18..a95b127 100644
--- a/src/gs-app-folder-dialog.c
+++ b/src/gs-app-folder-dialog.c
@@ -109,6 +109,7 @@ new_folder_cb (GsAppFolderDialog *dialog)
 
        gtk_entry_set_text (GTK_ENTRY (priv->new_folder_entry), "");
        gtk_widget_show (priv->new_folder_popover);
+       gtk_widget_grab_focus (priv->new_folder_entry);
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]