aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-04 07:24:58 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:06 +0800
commitb59648863b0f48360e4015269e7991c6a8d4b213 (patch)
tree2c5a30670abcade8eb7ae23f00ba8650bee1bbe8 /mail/e-mail-reader.c
parentf4c914d057214acff9b2439e642202f7902531dc (diff)
downloadgsoc2013-evolution-b59648863b0f48360e4015269e7991c6a8d4b213.tar.gz
gsoc2013-evolution-b59648863b0f48360e4015269e7991c6a8d4b213.tar.zst
gsoc2013-evolution-b59648863b0f48360e4015269e7991c6a8d4b213.zip
Use e_mail_folder_uri_from_folder() instead of camel_folder_get_uri().
Diffstat (limited to 'mail/e-mail-reader.c')
-rw-r--r--mail/e-mail-reader.c6
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));