[evolution] I#252 - Mail view's magic spacebar executed even when the view is inactive
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] I#252 - Mail view's magic spacebar executed even when the view is inactive
- Date: Wed, 5 Dec 2018 13:19:12 +0000 (UTC)
commit 1a9ec85311458b71e84671318925cb5164fe7982
Author: Milan Crha <mcrha redhat com>
Date: Wed Dec 5 14:16:57 2018 +0100
I#252 - Mail view's magic spacebar executed even when the view is inactive
Closes https://gitlab.gnome.org/GNOME/evolution/issues/252
src/modules/mail/e-mail-shell-view-private.c | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/modules/mail/e-mail-shell-view-private.c b/src/modules/mail/e-mail-shell-view-private.c
index 04a47c4bbd..4bd63db67a 100644
--- a/src/modules/mail/e-mail-shell-view-private.c
+++ b/src/modules/mail/e-mail-shell-view-private.c
@@ -310,6 +310,9 @@ mail_shell_window_key_press_event_cb (EMailShellView *mail_shell_view,
GdkEventKey *event,
EShellWindow *shell_window)
{
+ if (!e_shell_view_is_active (E_SHELL_VIEW (mail_shell_view)))
+ return FALSE;
+
return mail_shell_view_process_key_press_event (mail_shell_view, event, TRUE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]