diff options
Diffstat (limited to 'modules/mail/e-mail-shell-sidebar.c')
-rw-r--r-- | modules/mail/e-mail-shell-sidebar.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/mail/e-mail-shell-sidebar.c b/modules/mail/e-mail-shell-sidebar.c index 3db9bd674e..fcc6805514 100644 --- a/modules/mail/e-mail-shell-sidebar.c +++ b/modules/mail/e-mail-shell-sidebar.c @@ -501,7 +501,6 @@ mail_shell_sidebar_check_state (EShellSidebar *shell_sidebar) GtkTreeView *tree_view; GtkTreeModel *model; GtkTreeIter iter; - CamelFolder *folder; CamelStore *local_store; CamelStore *store; gchar *full_name; @@ -550,8 +549,7 @@ mail_shell_sidebar_check_state (EShellSidebar *shell_sidebar) (strcmp (full_name, "Templates") != 0); if (!(folder_flags & CAMEL_FOLDER_HAS_BEEN_DELETED)) { - folder = em_folder_tree_get_selected_folder (folder_tree); - is_outbox = em_utils_folder_is_outbox (folder, NULL); + is_outbox = em_utils_folder_is_outbox (NULL, uri); } can_delete &= !(folder_flags & CAMEL_FOLDER_SYSTEM); } |