aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-04-04 05:07:29 +0800
committerDan Winship <danw@src.gnome.org>2001-04-04 05:07:29 +0800
commit94018cdd4d1c5ffa7b5a977e22816c35f86a00ac (patch)
treebc497efcc42afa402fad294056874f5823bbeab2 /mail
parent534bf288a85bd64dda94e80dcbf995ec389054ab (diff)
downloadgsoc2013-evolution-94018cdd4d1c5ffa7b5a977e22816c35f86a00ac.tar.gz
gsoc2013-evolution-94018cdd4d1c5ffa7b5a977e22816c35f86a00ac.tar.zst
gsoc2013-evolution-94018cdd4d1c5ffa7b5a977e22816c35f86a00ac.zip
Sync the folder on activate.
* folder-browser-factory.c (control_activate): Sync the folder on activate. svn path=/trunk/; revision=9140
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/folder-browser-factory.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 3aeb736c56..8c8e968bf4 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2001-04-03 Dan Winship <danw@ximian.com>
+ * folder-browser-factory.c (control_activate): Sync the folder on
+ activate.
+
* session.c (mail_session_remember_password): Use the same
URL-transforming rules we use when hashing the password so this
actually works.
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c
index 7dbb768645..6c80677352 100644
--- a/mail/folder-browser-factory.c
+++ b/mail/folder-browser-factory.c
@@ -271,6 +271,9 @@ control_activate (BonoboControl *control,
bonobo_ui_component_set_prop(uic, "/commands/MailStop", "sensitive", "0", NULL);
bonobo_ui_component_thaw (uic, NULL);
+
+ if (fb->folder)
+ mail_sync_folder (fb->folder, NULL, NULL);
}
static void