diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 3 | ||||
-rw-r--r-- | mail/em-folder-view.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 6d3cdf0b2a..81e88df395 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,8 @@ 2003-12-03 Jeffrey Stedfast <fejj@ximian.com> + * em-folder-view.c (emfv_set_folder): Sync the folder before + replacing it with the new folder. + * em-folder-tree.c (em_folder_tree_set_selected): Need to prepend a "/" to path if the path is the url fragment. Also fixed to select the store node if path == "/". diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c index ca3df84be6..9797c0e2ac 100644 --- a/mail/em-folder-view.c +++ b/mail/em-folder-view.c @@ -332,6 +332,7 @@ emfv_set_folder(EMFolderView *emfv, CamelFolder *folder, const char *uri) emfv->folder_uri = g_strdup(uri); if (folder != emfv->folder) { if (emfv->folder) { + mail_sync_folder (emfv->folder, NULL, NULL); if (emfv->priv->folder_changed_id) camel_object_remove_event(emfv->folder, emfv->priv->folder_changed_id); camel_object_unref(emfv->folder); |