diff options
author | Peter Williams <peterw@ximian.com> | 2001-06-28 00:32:01 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2001-06-28 00:32:01 +0800 |
commit | 24ab648dbbc12a0585432ab8a31cd701ce920be1 (patch) | |
tree | db64e56bcecc00faa6aefbf480822fc92a0df637 /mail/folder-browser-factory.c | |
parent | 041edb0ec82bd8eefd284cff1f50f3d262191f52 (diff) | |
download | gsoc2013-evolution-24ab648dbbc12a0585432ab8a31cd701ce920be1.tar.gz gsoc2013-evolution-24ab648dbbc12a0585432ab8a31cd701ce920be1.tar.zst gsoc2013-evolution-24ab648dbbc12a0585432ab8a31cd701ce920be1.zip |
Change to use more reality-based API below. Include folder-browser-ui.h
2001-06-27 Peter Williams <peterw@ximian.com>
* folder-browser-factory.c (control_deactivate): Change to use
more reality-based API below.
Include folder-browser-ui.h too.
(control_activate): Remove now-unused 'int state'.
* folder-browser-ui.h: Changed prototypes to match changes below.
* folder-browser-ui.c (folder_browser_ui_rm_message): Commented out
to reflect reality of how this stuff works (you can't actually remove
the pieces).
(folder_browser_ui_rm_global): Same.
(folder_browser_ui_rm_list): Left because here we add the view menus.
(folder_browser_ui_add_list): ... which were moved here.
(folder_browser_ui_rm_all): New function, does the job of old ui_rm()
svn path=/trunk/; revision=10531
Diffstat (limited to 'mail/folder-browser-factory.c')
-rw-r--r-- | mail/folder-browser-factory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c index 9b2a198478..67cb6f6fba 100644 --- a/mail/folder-browser-factory.c +++ b/mail/folder-browser-factory.c @@ -30,6 +30,7 @@ #include "folder-browser-factory.h" #include "folder-browser.h" +#include "folder-browser-ui.h" #include "mail.h" #include "mail-callbacks.h" #include "shell/Evolution.h" @@ -75,9 +76,8 @@ control_deactivate (BonoboControl *control, BonoboUIComponent *uic, FolderBrowser *fb) { - folder_browser_ui_rm_message (fb); folder_browser_ui_rm_list (fb); - folder_browser_ui_rm_global (fb); + folder_browser_ui_rm_all (fb); /* turn this back on to get the old (broken) behaviour of * synching when leaving a folder |