aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-reader-utils.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-07-14 07:27:18 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-07-14 07:30:20 +0800
commita972d9ab59660d7137fdf0918133b2e3f1c41545 (patch)
tree962a40a7418ca5b2de32d11ceacee47bd7f0e9c5 /mail/e-mail-reader-utils.c
parentdba7eededd03ad2de3c126301e9d048390bb6f43 (diff)
downloadgsoc2013-evolution-a972d9ab59660d7137fdf0918133b2e3f1c41545.tar.gz
gsoc2013-evolution-a972d9ab59660d7137fdf0918133b2e3f1c41545.tar.zst
gsoc2013-evolution-a972d9ab59660d7137fdf0918133b2e3f1c41545.zip
Bug 624285 - When replying, ignore text selection if preview is hidden
Diffstat (limited to 'mail/e-mail-reader-utils.c')
-rw-r--r--mail/e-mail-reader-utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/e-mail-reader-utils.c b/mail/e-mail-reader-utils.c
index a1e0ebbc52..f10702ddd3 100644
--- a/mail/e-mail-reader-utils.c
+++ b/mail/e-mail-reader-utils.c
@@ -382,6 +382,9 @@ e_mail_reader_reply_to_message (EMailReader *reader,
uid = MESSAGE_LIST (message_list)->cursor_uid;
g_return_if_fail (uid != NULL);
+ if (!e_mail_reader_get_quote_from_selection (reader))
+ goto whole_message;
+
if (!e_web_view_is_selection_active (web_view))
goto whole_message;