diff options
author | Dan Winship <danw@src.gnome.org> | 2001-10-09 11:08:29 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-10-09 11:08:29 +0800 |
commit | eb6606cf3fdf33198a5ab5d9b388155c012f5da5 (patch) | |
tree | f2399da09111128c2a6d2d79fc918f1b5e329127 /mail/folder-browser.c | |
parent | 5931b31034fb4d19482e517f6d8e5508fa1da908 (diff) | |
download | gsoc2013-evolution-eb6606cf3fdf33198a5ab5d9b388155c012f5da5.tar.gz gsoc2013-evolution-eb6606cf3fdf33198a5ab5d9b388155c012f5da5.tar.zst gsoc2013-evolution-eb6606cf3fdf33198a5ab5d9b388155c012f5da5.zip |
Update for folder_flags.
* mail-local.c (mlf_set_folder, mlf_unset_folder): Update for
folder_flags.
* folder-browser-ui.c (folder_browser_ui_add_list): Check
CAMEL_FOLDER_IS_TRASH flag rather than checking
CAMEL_IS_VTRASH_FOLDER.
* folder-browser.c (folder_browser_toggle_hide_deleted): Likewise
* message-list.c (message_list_set_folder): Likewise.
(message_list_set_hidedeleted): Remove redundant trash check.
svn path=/trunk/; revision=13510
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r-- | mail/folder-browser.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 9efe6df832..c435b3c281 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -53,7 +53,6 @@ #include "mail-local.h" #include "mail-config.h" -#include <camel/camel-vtrash-folder.h> #include <camel/camel-mime-message.h> #include <camel/camel-stream-mem.h> @@ -1141,7 +1140,7 @@ folder_browser_toggle_hide_deleted (BonoboUIComponent *component, if (type != Bonobo_UIComponent_STATE_CHANGED) return; - if (!(fb->folder && CAMEL_IS_VTRASH_FOLDER(fb->folder))) + if (!(fb->folder && (fb->folder->folder_flags & CAMEL_FOLDER_IS_TRASH))) mail_config_set_hide_deleted (atoi (state)); message_list_set_hidedeleted (fb->message_list, atoi (state)); } |