[Commits] quicksearch.c 1.1.2.112 1.1.2.113

colin at claws-mail.org colin at claws-mail.org
Fri Sep 21 14:42:55 CEST 2012


Update of /home/claws-mail/claws/src/gtk
In directory srv:/tmp/cvs-serv20560/src/gtk

Modified Files:
      Tag: gtk2
	quicksearch.c 
Log Message:
2012-09-21 [colin]	3.8.1cvs69

	* src/gtk/quicksearch.c
		Fix error background not appearing

Index: quicksearch.c
===================================================================
RCS file: /home/claws-mail/claws/src/gtk/quicksearch.c,v
retrieving revision 1.1.2.112
retrieving revision 1.1.2.113
diff -u -d -r1.1.2.112 -r1.1.2.113
--- quicksearch.c	21 Sep 2012 10:19:43 -0000	1.1.2.112
+++ quicksearch.c	21 Sep 2012 12:42:52 -0000	1.1.2.113
@@ -109,13 +109,14 @@
 	}
 
 	do {
+		gboolean active = g_strcmp0(quicksearch->request.matchstring, "");
 		advsearch_set(quicksearch->asearch, quicksearch->request.type,
 				quicksearch->request.matchstring);
 
 		if (run_only_if_fast && !advsearch_is_fast(quicksearch->asearch))
 			return;
 
-		quicksearch_set_active(quicksearch, advsearch_has_proper_predicate(quicksearch->asearch));
+		quicksearch_set_active(quicksearch, active);
 
 		quicksearch->want_reexec = FALSE;
 		quicksearch_set_running(quicksearch, TRUE);



More information about the Commits mailing list