From ae481043a0dae62a47f1164941ab1bfcc8d925f5 Mon Sep 17 00:00:00 2001 From: Parthasarathi Susarla Date: Thu, 28 Apr 2005 14:21:27 +0000 Subject: remove a call to refresh folder from here call mail_refresh_folder here 2005-04-28 Parthasarathi Susarla * em-folder-view.c (emfv_set_folder): remove a call to refresh folder from here * em-folder-browser.c (emfb_set_folder): call mail_refresh_folder here svn path=/trunk/; revision=29243 --- mail/em-folder-browser.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mail/em-folder-browser.c') diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c index c0b9d92529..582546facb 100644 --- a/mail/em-folder-browser.c +++ b/mail/em-folder-browser.c @@ -940,6 +940,9 @@ emfb_set_folder(EMFolderView *emfv, CamelFolder *folder, const char *uri) char *sstate; int state; GConfClient *gconf = mail_config_get_gconf_client(); + + camel_object_ref(folder); + mail_refresh_folder(folder, NULL, NULL); emfb->priv->folder_changed_id = camel_object_hook_event(folder, "folder_changed", (CamelObjectEventHookFunc)emfb_folder_changed, emfb); -- cgit