diff options
author | Parthasarathi Susarla <sparthasarathi@novell.com> | 2005-04-28 22:21:27 +0800 |
---|---|---|
committer | Parthasarathi Susarla <saps@src.gnome.org> | 2005-04-28 22:21:27 +0800 |
commit | ae481043a0dae62a47f1164941ab1bfcc8d925f5 (patch) | |
tree | 7b685a9272974cf5cf97092f11ccbd86cea47f60 /mail/em-folder-browser.c | |
parent | a16dd349d9b7b41aa23685e49abe3660bdbd8499 (diff) | |
download | gsoc2013-evolution-ae481043a0dae62a47f1164941ab1bfcc8d925f5.tar.gz gsoc2013-evolution-ae481043a0dae62a47f1164941ab1bfcc8d925f5.tar.zst gsoc2013-evolution-ae481043a0dae62a47f1164941ab1bfcc8d925f5.zip |
remove a call to refresh folder from here call mail_refresh_folder here
2005-04-28 Parthasarathi Susarla <sparthasarathi@novell.com>
* 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
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r-- | mail/em-folder-browser.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |