[Commits] quicksearch.c 1.1.2.114 1.1.2.115

colin at claws-mail.org colin at claws-mail.org
Wed Sep 26 10:54:07 CEST 2012


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

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

	* src/summary_search.c
	* src/summaryview.c
	* src/summaryview.h
	* src/gtk/quicksearch.c
		Factorize search code in summary_search and
		add a progress indicator as that slows down
		the first result in case of body search.

Index: quicksearch.c
===================================================================
RCS file: /home/claws-mail/claws/src/gtk/quicksearch.c,v
retrieving revision 1.1.2.114
retrieving revision 1.1.2.115
diff -u -d -r1.1.2.114 -r1.1.2.115
--- quicksearch.c	25 Sep 2012 09:24:14 -0000	1.1.2.114
+++ quicksearch.c	26 Sep 2012 08:54:05 -0000	1.1.2.115
@@ -166,7 +166,10 @@
 gboolean quicksearch_run_on_folder(QuickSearch* quicksearch, FolderItem *folderItem, MsgInfoList **result)
 {
 	if (quicksearch_has_sat_predicate(quicksearch)) {
-		gboolean searchres = advsearch_search_msgs_in_folders(quicksearch->asearch, result, folderItem, FALSE);
+		gboolean searchres;
+		main_window_cursor_wait(mainwindow_get_mainwindow());
+		searchres = advsearch_search_msgs_in_folders(quicksearch->asearch, result, folderItem, FALSE);
+		main_window_cursor_wait(mainwindow_get_mainwindow());
 		if (quicksearch->want_reexec) {
 			advsearch_set(quicksearch->asearch, quicksearch->request.type, "");
 		}



More information about the Commits mailing list