[Mailer] Fix for #326147

"Veerapuram Varadhan" <[email protected]>
Newsgroups gmane.comp.gnome.evolution.patches
Message-ID <[email protected]>
Hi,

Attached patch fixes #326147.  ChangeLog explains it all.

Let me know your comments.

Thanks,

V. Varadhan

_______________________________________________
Evolution-patches mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-patches
fix-326147.patch (text/plain, 2 KB)
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
retrieving revision 1.3785
diff -u -p -r1.3785 ChangeLog
--- ChangeLog	2 Feb 2006 05:14:15 -0000	1.3785
+++ ChangeLog	2 Feb 2006 16:59:10 -0000
@@ -1,3 +1,9 @@
+2006-02-02  Veerapuram Varadhan <[email protected]>
+
+	** Fixes #326147
+	* em-account-editor.c: (em_account-editor.c): Modify e_source to
+	reflect to the reverted changes.
+	
 2006-02-02  Parthasarathi Susarla <[email protected]>
 	
 	* em-composer-utils.c: (em_utils_handle_receipt):
Index: em-account-editor.c
===================================================================
RCS file: /cvs/gnome/evolution/mail/em-account-editor.c,v
retrieving revision 1.40
diff -u -p -r1.40 em-account-editor.c
--- em-account-editor.c	6 Jan 2006 06:44:14 -0000	1.40
+++ em-account-editor.c	2 Feb 2006 16:59:10 -0000
@@ -205,7 +205,7 @@ typedef struct _EMAccountEditorPrivate {
 
 static void emae_refresh_authtype(EMAccountEditor *emae, EMAccountEditorService *service);
 static void em_account_editor_construct(EMAccountEditor *emae, EAccount *account, em_account_editor_t type, char *id);
-
+static void emae_account_folder_changed(EMFolderSelectionButton *folder, EMAccountEditor *emae);
 static GtkVBoxClass *emae_parent;
 
 static void
@@ -458,9 +458,11 @@ default_folders_clicked (GtkButton *butt
 	
 	uri = mail_component_get_folder_uri(NULL, MAIL_COMPONENT_FOLDER_DRAFTS);
 	em_folder_selection_button_set_selection((EMFolderSelectionButton *)emae->priv->drafts_folder_button, uri);
+	emae_account_folder_changed((EMFolderSelectionButton *)emae->priv->drafts_folder_button, emae);
 
 	uri = mail_component_get_folder_uri(NULL, MAIL_COMPONENT_FOLDER_SENT);
 	em_folder_selection_button_set_selection((EMFolderSelectionButton *)emae->priv->sent_folder_button, uri);
+	emae_account_folder_changed((EMFolderSelectionButton *)emae->priv->sent_folder_button, emae);
 }
 
 /* custom widget factories */
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.