aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-03 21:16:49 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-05-03 21:42:06 +0800
commitb9f932b1b84349e80e8383d925a00a75a3b7fe29 (patch)
tree82d047c1925bab200a26426d1d5f627ef223bab8 /modules/mail
parentc694ca567b0339afea05d1e36a74290a7cd06944 (diff)
downloadgsoc2013-evolution-b9f932b1b84349e80e8383d925a00a75a3b7fe29.tar
gsoc2013-evolution-b9f932b1b84349e80e8383d925a00a75a3b7fe29.tar.gz
gsoc2013-evolution-b9f932b1b84349e80e8383d925a00a75a3b7fe29.tar.bz2
gsoc2013-evolution-b9f932b1b84349e80e8383d925a00a75a3b7fe29.tar.lz
gsoc2013-evolution-b9f932b1b84349e80e8383d925a00a75a3b7fe29.tar.xz
gsoc2013-evolution-b9f932b1b84349e80e8383d925a00a75a3b7fe29.tar.zst
gsoc2013-evolution-b9f932b1b84349e80e8383d925a00a75a3b7fe29.zip
Drop 'folder_uri' param from em_utils_folder_is_sent().
Diffstat (limited to 'modules/mail')
-rw-r--r--modules/mail/e-mail-shell-view-private.c4
-rw-r--r--modules/mail/e-mail-shell-view.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/mail/e-mail-shell-view-private.c b/modules/mail/e-mail-shell-view-private.c
index b56a5621d2..ed4da52ce2 100644
--- a/modules/mail/e-mail-shell-view-private.c
+++ b/modules/mail/e-mail-shell-view-private.c
@@ -977,7 +977,7 @@ e_mail_shell_view_create_filter_from_selected (EMailShellView *mail_shell_view,
folder_uri = e_mail_reader_get_folder_uri (reader);
uids = e_mail_reader_get_selected_uids (reader);
- if (em_utils_folder_is_sent (folder, folder_uri))
+ if (em_utils_folder_is_sent (folder))
filter_source = E_FILTER_SOURCE_OUTGOING;
else if (em_utils_folder_is_outbox (folder, folder_uri))
filter_source = E_FILTER_SOURCE_OUTGOING;
@@ -1181,7 +1181,7 @@ e_mail_shell_view_update_sidebar (EMailShellView *mail_shell_view)
num_visible), num_visible);
/* "Sent" folder */
- } else if (em_utils_folder_is_sent (folder, folder_uri)) {
+ } else if (em_utils_folder_is_sent (folder)) {
g_string_append_printf (
buffer, ngettext ("%d sent", "%d sent",
num_visible), num_visible);
diff --git a/modules/mail/e-mail-shell-view.c b/modules/mail/e-mail-shell-view.c
index 0b0f13e5d3..1c1a86785e 100644
--- a/modules/mail/e-mail-shell-view.c
+++ b/modules/mail/e-mail-shell-view.c
@@ -390,7 +390,7 @@ filter:
break;
case MAIL_FILTER_RECENT_MESSAGES:
- if (em_utils_folder_is_sent (folder, folder_uri))
+ if (em_utils_folder_is_sent (folder))
temp = g_strdup_printf (
"(and %s (match-all "
"(> (get-sent-date) "
@@ -407,7 +407,7 @@ filter:
break;
case MAIL_FILTER_LAST_5_DAYS_MESSAGES:
- if (em_utils_folder_is_sent (folder, folder_uri))
+ if (em_utils_folder_is_sent (folder))
temp = g_strdup_printf (
"(and %s (match-all "
"(> (get-sent-date) "