CVS: sylpheedclaws/sylpheed-claws/src folderview.c,1.207.2.136,1.207.2.137

[email protected]
Newsgroups gmane.mail.sylpheed.claws.cvs
Message-ID <[email protected]>
Update of /pack/anoncvs/sylpheedclaws/sylpheed-claws/src
In directory sunsite.dk:/tmp/cvs-serv4095/src

Modified Files:
      Tag: gtk2
	folderview.c 
Log Message:
2006-12-06 [colin]	2.6.1cvs6

	* src/folderview.c
		Fix bug 1072, 'Claws stops fetching newsgroups 
		from server when newsgroup got deleted': continue
		checking other groups

Index: folderview.c
===================================================================
RCS file: /pack/anoncvs/sylpheedclaws/sylpheed-claws/src/folderview.c,v
retrieving revision 1.207.2.136
retrieving revision 1.207.2.137
diff -u -d -r1.207.2.136 -r1.207.2.137
--- folderview.c	2006/11/26 11:15:36	1.207.2.136
+++ folderview.c	2006/12/06 07:20:15	1.207.2.137
@@ -1168,10 +1168,16 @@
 			     item->opened == TRUE ||
 			     item->processing_pending == TRUE)) {
 				if (folder_item_scan(item) < 0) {
-					summaryview_unlock(folderview->summaryview, item);
-					if (folder && !FOLDER_IS_LOCAL(folder)) {
-						STATUSBAR_POP(folderview->mainwin);
-						break;
+					if (folder) {
+						summaryview_unlock(folderview->summaryview, item);
+						if (FOLDER_TYPE(item->folder) == F_NEWS || FOLDER_IS_LOCAL(folder)) {
+							log_error(_("Couldn't scan folder %s\n"),
+								item->path ? item->path:item->name);
+							continue;
+						} else if (!FOLDER_IS_LOCAL(folder)) {
+							STATUSBAR_POP(folderview->mainwin);
+							break;
+						}
 					}
 				}
 			} else if (!item->folder->klass->scan_required) {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.