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



commit 59d7e9ed76abf0548b39c26796567187933b19d4
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]