[evolution] I#359 - F6 key to switch between panes does not work
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] I#359 - F6 key to switch between panes does not work
- Date: Mon, 18 Mar 2019 16:15:19 +0000 (UTC)
commit 8058f275c163fbcef27d08164ac5788d8d9c28a6
Author: Milan Crha <mcrha redhat com>
Date: Mon Mar 18 17:16:07 2019 +0100
I#359 - F6 key to switch between panes does not work
Closes https://gitlab.gnome.org/GNOME/evolution/issues/359
src/shell/e-shell-window.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
---
diff --git a/src/shell/e-shell-window.c b/src/shell/e-shell-window.c
index e523fe0c93..3e23f75c0f 100644
--- a/src/shell/e-shell-window.c
+++ b/src/shell/e-shell-window.c
@@ -2120,6 +2120,22 @@ e_shell_window_get_need_input (EShellWindow *shell_window,
if ((event->state & (GDK_CONTROL_MASK | GDK_SHIFT_MASK | GDK_MOD1_MASK)) != 0)
return FALSE;
+ if (event->keyval == GDK_KEY_F1 ||
+ event->keyval == GDK_KEY_F2 ||
+ event->keyval == GDK_KEY_F3 ||
+ event->keyval == GDK_KEY_F4 ||
+ event->keyval == GDK_KEY_F5 ||
+ event->keyval == GDK_KEY_F6 ||
+ event->keyval == GDK_KEY_F7 ||
+ event->keyval == GDK_KEY_F8 ||
+ event->keyval == GDK_KEY_F9 ||
+ event->keyval == GDK_KEY_F10 ||
+ event->keyval == GDK_KEY_F11 ||
+ event->keyval == GDK_KEY_F12 ||
+ event->keyval == GDK_KEY_Tab ||
+ event->keyval == GDK_KEY_KP_Tab)
+ return FALSE;
+
focused = gtk_window_get_focus (GTK_WINDOW (shell_window));
/* The F2 is used as a shortcut to rename folder in the Mail view */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]