[evolution-patches] fix usenet folder flags



Hello,
one-line patch to fix usenet folder flags.
I noticed this bug since the folder subscriptions dialog always displays
all the folders as unsubscribed for usenet accounts.

Bye

-- 
Alessandro Decina <alessandro nnva org>
NNVA
Index: camel/providers/nntp/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/nntp/ChangeLog,v
retrieving revision 1.2
diff -u -p -r1.2 ChangeLog
--- camel/providers/nntp/ChangeLog	22 Apr 2005 02:57:50 -0000	1.2
+++ camel/providers/nntp/ChangeLog	30 Apr 2005 10:02:54 -0000
@@ -1,3 +1,8 @@
+2005-04-30  Alessandro Decina  <alessandro nnnva org>
+
+	* camel-nntp-store.c (nntp_folder_info_from_store_info): Copy the
+	flags field when converting from CamelStoreInfo to CamelFolderInfo.
+
 2005-04-22  Not Zed  <NotZed Ximian com>
 
 	* camel-nntp-store.c (nntp_store_get_folder_info_all): don't set
Index: camel/providers/nntp/camel-nntp-store.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/camel/providers/nntp/camel-nntp-store.c,v
retrieving revision 1.79
diff -u -p -r1.79 camel-nntp-store.c
--- camel/providers/nntp/camel-nntp-store.c	22 Apr 2005 02:57:50 -0000	1.79
+++ camel/providers/nntp/camel-nntp-store.c	30 Apr 2005 10:02:55 -0000
@@ -498,6 +498,7 @@ nntp_folder_info_from_store_info (CamelN
 	
 	fi->unread = si->unread;
 	fi->total = si->total;
+	fi->flags = si->flags;
 	path = alloca(strlen(fi->full_name)+2);
 	sprintf(path, "/%s", fi->full_name);
 	url = camel_url_new_with_base (base_url, path);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]