diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-03 21:16:49 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-05-03 21:42:06 +0800 |
commit | b9f932b1b84349e80e8383d925a00a75a3b7fe29 (patch) | |
tree | 82d047c1925bab200a26426d1d5f627ef223bab8 /plugins/itip-formatter | |
parent | c694ca567b0339afea05d1e36a74290a7cd06944 (diff) | |
download | gsoc2013-evolution-b9f932b1b84349e80e8383d925a00a75a3b7fe29.tar.gz gsoc2013-evolution-b9f932b1b84349e80e8383d925a00a75a3b7fe29.tar.zst gsoc2013-evolution-b9f932b1b84349e80e8383d925a00a75a3b7fe29.zip |
Drop 'folder_uri' param from em_utils_folder_is_sent().
Diffstat (limited to 'plugins/itip-formatter')
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index f63f9623ba..a90ff38bbe 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -2284,7 +2284,7 @@ in_proper_folder (CamelFolder *folder) /* or any other virtual folder */ CAMEL_IS_VEE_FOLDER (folder) || /* or anything else except of sent, outbox or drafts folder */ - (!em_utils_folder_is_sent (folder, folder_uri) && + (!em_utils_folder_is_sent (folder) && !em_utils_folder_is_outbox (folder, folder_uri) && !em_utils_folder_is_drafts (folder)) )); @@ -2292,7 +2292,7 @@ in_proper_folder (CamelFolder *folder) /* cannot check for Inbox folder here */ res = (folder->folder_flags & (CAMEL_FOLDER_IS_TRASH | CAMEL_FOLDER_IS_JUNK)) == 0 && ( (CAMEL_IS_VEE_FOLDER (folder)) || ( - !em_utils_folder_is_sent (folder, folder_uri) && + !em_utils_folder_is_sent (folder) && !em_utils_folder_is_outbox (folder, folder_uri) && !em_utils_folder_is_drafts (folder))); } |