aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r--mail/em-folder-browser.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c
index b0481d46d5..3c2d223307 100644
--- a/mail/em-folder-browser.c
+++ b/mail/em-folder-browser.c
@@ -1596,8 +1596,12 @@ emfb_folder_refresh(BonoboUIComponent *uid, gpointer data, const gchar *path)
EMFolderTree *tree = g_object_get_data (G_OBJECT (emfb), "foldertree");
CamelFolder *folder;
- if ((folder = em_folder_tree_get_selected_folder (tree)) != NULL)
+ if ((folder = em_folder_tree_get_selected_folder (tree)) != NULL) {
+ EMEvent *e = em_event_peek();
+ EMEventTargetFolder *t = em_event_target_new_folder(e, folder->full_name, 0);
+ e_event_emit((EEvent *)e, "folder.refresh", (EEventTarget *)t);
mail_refresh_folder(folder, NULL, NULL);
+ }
}