aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader-utils.c
diff options
context:
space:
mode:
authorRitesh Khadgaray <khadgaray@gmail.com>2009-11-20 05:08:34 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-11-20 05:08:34 +0800
commit82e862889dce6540714a90444473454e3ef9c66b (patch)
tree19da02f512fdffd883177460cfaba0bbfeacd76c /mail/e-mail-reader-utils.c
parentf11f1c477dfbdbe666ad5627ad44ac95bd7c816f (diff)
downloadgsoc2013-evolution-82e862889dce6540714a90444473454e3ef9c66b.tar
gsoc2013-evolution-82e862889dce6540714a90444473454e3ef9c66b.tar.gz
gsoc2013-evolution-82e862889dce6540714a90444473454e3ef9c66b.tar.bz2
gsoc2013-evolution-82e862889dce6540714a90444473454e3ef9c66b.tar.lz
gsoc2013-evolution-82e862889dce6540714a90444473454e3ef9c66b.tar.xz
gsoc2013-evolution-82e862889dce6540714a90444473454e3ef9c66b.tar.zst
gsoc2013-evolution-82e862889dce6540714a90444473454e3ef9c66b.zip
BugĀ 563555 - Confirm before forwarding many emails inline
Diffstat (limited to 'mail/e-mail-reader-utils.c')
-rw-r--r--mail/e-mail-reader-utils.c19
1 files changed, 3 insertions, 16 deletions
diff --git a/mail/e-mail-reader-utils.c b/mail/e-mail-reader-utils.c
index 3cfc3b3e87..2e634186aa 100644
--- a/mail/e-mail-reader-utils.c
+++ b/mail/e-mail-reader-utils.c
@@ -209,22 +209,9 @@ e_mail_reader_open_selected (EMailReader *reader)
folder_uri = message_list->folder_uri;
uids = message_list_get_selected (message_list);
- if (uids->len >= 10) {
- gchar *len_str;
- gboolean proceed;
-
- len_str = g_strdup_printf ("%d", uids->len);
-
- proceed = em_utils_prompt_user (
- window, "/apps/evolution/mail/prompts/open_many",
- "mail:ask-open-many", len_str, NULL);
-
- g_free (len_str);
-
- if (!proceed) {
- message_list_free_uids (message_list, uids);
- return 0;
- }
+ if (!em_utils_ask_open_many (window, uids->len)) {
+ message_list_free_uids (message_list, uids);
+ return 0;
}
if (em_utils_folder_is_drafts (folder, folder_uri) ||