From: Sergio Villar Senin Date: Mon, 14 Jul 2008 18:02:32 +0000 (+0000) Subject: * Fixes NB#86757 do not allow multiple forwardings X-Git-Tag: git_migration_finished~1273 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=0595e0c0d33404e9b47b7fe96d1530f1a7f99e09 * Fixes NB#86757 do not allow multiple forwardings pmo-trunk-r4993 --- diff --git a/src/modest-ui-actions.c b/src/modest-ui-actions.c index bf2bb2e..3aedf73 100644 --- a/src/modest-ui-actions.c +++ b/src/modest-ui-actions.c @@ -1742,7 +1742,10 @@ reply_forward (ReplyForwardAction action, ModestWindow *win) header_list = get_selected_headers (win); if (!header_list) return; - if (tny_list_get_length (header_list) == 0) { + /* Check that only one message is selected for replying */ + if (tny_list_get_length (header_list) != 1) { + modest_platform_information_banner ((win) ? GTK_WIDGET (win) : NULL, + NULL, _("mcen_ib_select_one_message")); g_object_unref (header_list); return; }