[evolution] Return key in a message window opens the message in a new	window
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [evolution] Return key in a message window opens the message in a new	window
- Date: Mon, 17 Aug 2015 14:04:29 +0000 (UTC)
commit cfa179f939cffdce827cd93ef1e39ea0131cf78a
Author: Milan Crha <mcrha redhat com>
Date:   Mon Aug 17 16:02:27 2015 +0200
    Return key in a message window opens the message in a new window
    
    This had been reported downstream:
    https://bugzilla.redhat.com/show_bug.cgi?id=1253701
 mail/e-mail-reader.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index 0935251..8693360 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -2579,6 +2579,9 @@ mail_reader_key_press_event_cb (EMailReader *reader,
                case GDK_KEY_Return:
                case GDK_KEY_KP_Enter:
                case GDK_KEY_ISO_Enter:
+                       if (E_IS_MAIL_BROWSER (reader))
+                               return FALSE;
+
                        action_name = "mail-message-open";
                        break;
 
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]