diff options
Diffstat (limited to 'mail/e-mail-reader.c')
-rw-r--r-- | mail/e-mail-reader.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c index 808deda0fd..fd85f5f984 100644 --- a/mail/e-mail-reader.c +++ b/mail/e-mail-reader.c @@ -2885,7 +2885,6 @@ mail_reader_set_folder (EMailReader *reader, GtkWidget *message_list; EMailBackend *backend; EShell *shell; - const gchar *folder_uri = NULL; gboolean outgoing; priv = E_MAIL_READER_GET_PRIVATE (reader); @@ -2906,10 +2905,7 @@ mail_reader_set_folder (EMailReader *reader, if (folder == previous_folder) return; - if (folder != NULL) - folder_uri = camel_folder_get_uri (folder); - - outgoing = folder != NULL && folder_uri != NULL && ( + outgoing = folder != NULL && ( em_utils_folder_is_drafts (folder) || em_utils_folder_is_outbox (folder) || em_utils_folder_is_sent (folder)); |