[evolution-patches] 71967, pop keep on server, not




simple, if slightly-hacky fix.

its an odd setting, since it is on e-account, but the ui is generated from the camel provider stuff, which is why it was being set in the wrong place

Index: mail/ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.3575
diff -u -p -r1.3575 ChangeLog
--- mail/ChangeLog	15 Feb 2005 11:15:26 -0000	1.3575
+++ mail/ChangeLog	21 Feb 2005 02:13:10 -0000
@@ -1,3 +1,11 @@
+2005-02-21  Not Zed  <NotZed Ximian com>
+
+	** See bug #71967
+
+	* em-account-editor.c (emae_receive_options_extra_item): make sure
+	we track the keep_on_server setting in the e-account, not just the
+	url (hack).
+
 2005-02-15  Radek Doulik  <rodo novell com>
 
 	* em-junk-filter.c: use camel_debug
Index: mail/em-account-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/em-account-editor.c,v
retrieving revision 1.18
diff -u -p -r1.18 em-account-editor.c
--- mail/em-account-editor.c	31 Jan 2005 08:52:15 -0000	1.18
+++ mail/em-account-editor.c	21 Feb 2005 02:13:10 -0000
@@ -1900,6 +1900,10 @@ section:
 			if (depw)
 				depl = g_slist_prepend(depl, w);
 			row++;
+			/* HACK: keep_on_server is stored in the e-account, but is displayed as a properly on the uri,
+			   make sure they track/match here */
+			if (!strcmp(entries[i].name, "keep_on_server"))
+				emae_account_toggle_widget(emae, (GtkToggleButton *)w, E_ACCOUNT_SOURCE_KEEP_ON_SERVER);
 			break;
 		case CAMEL_PROVIDER_CONF_ENTRY:
 			l = g_object_new(gtk_label_get_type(), "label", entries[i].text, "xalign", 0.0, NULL);


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