diff options
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r-- | mail/em-folder-tree.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index 8181c9a91a..ee2283f253 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -2185,6 +2185,10 @@ emft_popup (EMFolderTree *emft, GdkEvent *event) info_flags |= CAMEL_FOLDER_VIRTUAL | CAMEL_FOLDER_NOINFERIORS; selfolder = em_folder_tree_get_selected_folder (emft); + + if (folder_type_flags & CAMEL_FOLDER_SYSTEM) + flags &= ~EM_POPUP_FOLDER_DELETE; + if (em_utils_folder_is_outbox (selfolder, NULL)) info_flags |= CAMEL_FOLDER_TYPE_OUTBOX; } |