[gnome-boxes/behavior-of-ctrl-plus-n: 1/4] app-window: Remove key-press handler for Ctrl + K



commit a03cbae2b3159c938fdd53ac108fea3f361c86e0
Author: Felipe Borges <felipeborges gnome org>
Date:   Mon Jan 20 16:27:23 2020 +0100

    app-window: Remove key-press handler for Ctrl + K
    
    In commit 65732197 we delegate to Gtk to load the Keyboard Shortcuts,
    therefore there's no need for us to handle that shortcut whatsover.

 src/app-window.vala | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/src/app-window.vala b/src/app-window.vala
index ca226a0f..0e99fec1 100644
--- a/src/app-window.vala
+++ b/src/app-window.vala
@@ -405,11 +405,6 @@ public bool on_key_pressed (Widget widget, Gdk.EventKey event) {
         } else if (event.keyval == Gdk.Key.F1) {
             App.app.activate_action ("help", null);
 
-            return true;
-        } else if (event.keyval == Gdk.Key.k &&
-                   (event.state & default_modifiers) == Gdk.ModifierType.CONTROL_MASK) {
-            activate_action ("kbd-shortcuts", null);
-
             return true;
         } else if (event.keyval == Gdk.Key.q &&
                    (event.state & default_modifiers) == Gdk.ModifierType.CONTROL_MASK) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]