[Commits] summaryview.c 1.395.2.440 1.395.2.441
pawel at claws-mail.org
pawel at claws-mail.org
Fri Dec 9 21:29:23 CET 2011
Update of /home/claws-mail/claws/src
In directory claws-mail:/tmp/cvs-serv31919/src
Modified Files:
Tag: gtk2
summaryview.c
Log Message:
2011-12-09 [pawel] 3.7.10cvs112
* src/summaryview.c
* src/gtk/quicksearch.c
* src/gtk/quicksearch.h
Invalidate quicksearch root folder when removed
Fixes bug #2560 'crash when unsubscribing newsgroup and
having active search field'
Index: summaryview.c
===================================================================
RCS file: /home/claws-mail/claws/src/summaryview.c,v
retrieving revision 1.395.2.440
retrieving revision 1.395.2.441
diff -u -d -r1.395.2.440 -r1.395.2.441
--- summaryview.c 19 Nov 2011 17:47:47 -0000 1.395.2.440
+++ summaryview.c 9 Dec 2011 20:29:21 -0000 1.395.2.441
@@ -7984,9 +7984,11 @@
FolderUpdateData *hookdata;
SummaryView *summaryview = (SummaryView *)data;
hookdata = source;
- if (hookdata->update_flags & FOLDER_REMOVE_FOLDERITEM)
+ if (hookdata->update_flags & FOLDER_REMOVE_FOLDERITEM) {
summary_update_unread(summaryview, hookdata->item);
- else
+ quicksearch_folder_item_invalidate(summaryview->quicksearch,
+ hookdata->item);
+ } else
summary_update_unread(summaryview, NULL);
return FALSE;
More information about the Commits
mailing list