aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser-factory.c
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/folder-browser-factory.c
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/folder-browser-factory.c')
-rw-r--r--mail/folder-browser-factory.c3
1 files changed, 3 insertions, 0 deletions
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