[Commits] [SCM] claws branch, master, updated. 3.10.0-38-g1acda36

claws at claws-mail.org claws at claws-mail.org
Tue Jun 3 18:56:00 CEST 2014


The branch master of project "claws" (Claws Mail) has been updated
       via  1acda3610917af3bfb9b1e6a1ce0285317cb00cd (commit)
      from  5a569c3d2f271b61d3ed4687fa9f34a9ab37734f (commit)


- Log -----------------------------------------------------------------
commit 1acda3610917af3bfb9b1e6a1ce0285317cb00cd
Author: Paul <paul at claws-mail.org>
Date:   Tue Jun 3 17:55:47 2014 +0100

    implement RFC 3196, 'When changing quicksearch Search Type, set focus to search input box'
    
    and simplify a bit

diff --git a/src/gtk/quicksearch.c b/src/gtk/quicksearch.c
index 7f78f95..f10948b 100644
--- a/src/gtk/quicksearch.c
+++ b/src/gtk/quicksearch.c
@@ -376,6 +376,7 @@ static gboolean searchtype_changed(GtkMenuItem *widget, gpointer data)
 	quicksearch_set_popdown_strings(quicksearch);
 
 	quicksearch_invoke_execute(quicksearch, FALSE);
+	gtk_widget_grab_focus(quicksearch->search_string_entry);
 
 	return TRUE;
 }
@@ -852,8 +853,7 @@ void quicksearch_show(QuickSearch *quicksearch)
 	GtkWidget *ctree = NULL;
 	gtk_widget_show(quicksearch->hbox_search);
 	update_extended_buttons(quicksearch);
-	gtk_widget_grab_focus(
-		GTK_WIDGET(gtk_bin_get_child(GTK_BIN((quicksearch->search_string_entry)))));
+	gtk_widget_grab_focus(quicksearch->search_string_entry);
 
 	if (!mainwin || !mainwin->summaryview) {
 		return;

-----------------------------------------------------------------------

Summary of changes:
 src/gtk/quicksearch.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list