[anjuta/gnome-3-4] document-manager: bgo#680554 - entry of find in files doesn't get focused



commit 3276631464a174751c6d86ae8078ef08e7185a64
Author: Johannes Schmid <jhs gnome org>
Date:   Thu Jul 26 11:16:38 2012 +0200

    document-manager: bgo#680554 - entry of find in files doesn't get focused

 plugins/document-manager/search-files.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/document-manager/search-files.c b/plugins/document-manager/search-files.c
index d0d8e01..56274b9 100644
--- a/plugins/document-manager/search-files.c
+++ b/plugins/document-manager/search-files.c
@@ -874,4 +874,6 @@ void search_files_present (SearchFiles* sf)
 	anjuta_shell_present_widget(sf->priv->docman->shell,
 	                            sf->priv->main_box,
 	                            NULL);
+
+	gtk_widget_grab_focus (sf->priv->search_entry);
 }



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