aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree-model.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-03 19:06:10 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-05-03 21:42:06 +0800
commite7136c728938dc75211111148cd184731f720911 (patch)
tree55c129c2dc5c142f0c07de29497614b5d07c19af /mail/em-folder-tree-model.c
parent91926cfad40b5a94cc34243db9fc17b6ad55b15c (diff)
downloadgsoc2013-evolution-e7136c728938dc75211111148cd184731f720911.tar
gsoc2013-evolution-e7136c728938dc75211111148cd184731f720911.tar.gz
gsoc2013-evolution-e7136c728938dc75211111148cd184731f720911.tar.bz2
gsoc2013-evolution-e7136c728938dc75211111148cd184731f720911.tar.lz
gsoc2013-evolution-e7136c728938dc75211111148cd184731f720911.tar.xz
gsoc2013-evolution-e7136c728938dc75211111148cd184731f720911.tar.zst
gsoc2013-evolution-e7136c728938dc75211111148cd184731f720911.zip
Replace camel_store_folder_uri_equal() with e_mail_folder_uri_equal().
Diffstat (limited to 'mail/em-folder-tree-model.c')
-rw-r--r--mail/em-folder-tree-model.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c
index 7a7a5f8716..072f5e448b 100644
--- a/mail/em-folder-tree-model.c
+++ b/mail/em-folder-tree-model.c
@@ -46,6 +46,7 @@
#include "em-folder-utils.h"
#include "em-event.h"
+#include "e-mail-folder-utils.h"
#include "e-mail-local.h"
#include "e-mail-store.h"
#include "shell/e-shell.h"
@@ -738,13 +739,15 @@ em_folder_tree_model_set_folder_info (EMFolderTreeModel *model,
if (si->account && (flags & CAMEL_FOLDER_TYPE_MASK) == 0) {
if (!is_drafts && si->account->drafts_folder_uri) {
gchar *curi = em_uri_to_camel (si->account->drafts_folder_uri);
- is_drafts = camel_store_folder_uri_equal (si->store, fi->uri, curi);
+ is_drafts = e_mail_folder_uri_equal (
+ CAMEL_SESSION (session), fi->uri, curi);
g_free (curi);
}
if (si->account->sent_folder_uri) {
gchar *curi = em_uri_to_camel (si->account->sent_folder_uri);
- if (camel_store_folder_uri_equal (si->store, fi->uri, curi)) {
+ if (e_mail_folder_uri_equal (
+ CAMEL_SESSION (session), fi->uri, curi)) {
add_flags = CAMEL_FOLDER_TYPE_SENT;
}
g_free (curi);