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-ui.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-ui.c')
-rw-r--r-- | mail/folder-browser-ui.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mail/folder-browser-ui.c b/mail/folder-browser-ui.c index 2229c240b4..48cfc2169a 100644 --- a/mail/folder-browser-ui.c +++ b/mail/folder-browser-ui.c @@ -28,7 +28,6 @@ #include "folder-browser-ui.h" #include "evolution-shell-component-utils.h" /* Pixmap stuff */ -#include "camel/camel-vtrash-folder.h" /* vtrash checking */ /* * Add with 'folder_browser' @@ -344,7 +343,7 @@ folder_browser_ui_add_list (FolderBrowser *fb) ui_add (fb, "list", list_verbs, list_pixcache); /* Hide Deleted */ - if (fb->folder && CAMEL_IS_VTRASH_FOLDER (fb->folder)) { + if (fb->folder && (fb->folder->folder_flags & CAMEL_FOLDER_IS_TRASH)) { bonobo_ui_component_set_prop (uic, "/commands/HideDeleted", "sensitive", "0", NULL); state = FALSE; } else { |