diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-08-28 02:04:00 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-08-28 02:04:00 +0800 |
commit | 31a783d875c662650ee650afc6927d5751253194 (patch) | |
tree | 050fe3bdf72250d1f4f5608387086a4fb1d5e39c /mail/folder-browser-factory.c | |
parent | f60610933f5b69c5dda03a3aa6dfa239d225e79d (diff) | |
download | gsoc2013-evolution-31a783d875c662650ee650afc6927d5751253194.tar.gz gsoc2013-evolution-31a783d875c662650ee650afc6927d5751253194.tar.zst gsoc2013-evolution-31a783d875c662650ee650afc6927d5751253194.zip |
Fixes for bug #4480
2002-08-27 Jeffrey Stedfast <fejj@ximian.com>
Fixes for bug #4480
* folder-browser-factory.c (control_activate): Call
folder_browser_reload() instead of refreshing the folder
ourselves.
* folder-browser.c (folder_browser_reload): New convenience
function. If the folder-browser's folder is already loaded,
refresh the contents, otherwise if the folder has not been loaded
- try loading the folder again (it may have failed to open last
time for some reason?).
svn path=/trunk/; revision=17876
Diffstat (limited to 'mail/folder-browser-factory.c')
-rw-r--r-- | mail/folder-browser-factory.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c index fa09a3e059..d99bbe2628 100644 --- a/mail/folder-browser-factory.c +++ b/mail/folder-browser-factory.c @@ -94,12 +94,11 @@ control_activate (BonoboControl *control, folder_browser_ui_add_message (fb); /*bonobo_ui_component_thaw (uic, NULL);*/ - - folder_browser_set_shell_view(fb, fb_get_svi (control)); - - if (fb->folder) - mail_refresh_folder (fb->folder, NULL, NULL); - + + folder_browser_set_shell_view (fb, fb_get_svi (control)); + + folder_browser_reload (fb); + e_search_bar_set_ui_component (E_SEARCH_BAR (fb->search), uic); } |