[gnome-builder] application: Fix Ctrl+Q as shortcut for quitting application



commit 48ca91ad21806de65ef9510eb28ab198fb6f843e
Author: David Heidelberg <david ixit cz>
Date:   Tue Aug 24 20:07:13 2021 +0200

    application: Fix Ctrl+Q as shortcut for quitting application
    
    Fixes: https://gitlab.gnome.org/GNOME/gnome-builder/-/merge_requests/353
    Fixes: https://gitlab.gnome.org/GNOME/gnome-builder/-/issues/1130
    
    Signed-off-by: David Heidelberg <david ixit cz>

 src/libide/gui/ide-application-shortcuts.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/gui/ide-application-shortcuts.c b/src/libide/gui/ide-application-shortcuts.c
index d52fdbe32..9f838d6ec 100644
--- a/src/libide/gui/ide-application-shortcuts.c
+++ b/src/libide/gui/ide-application-shortcuts.c
@@ -73,7 +73,7 @@ _ide_application_init_shortcuts (IdeApplication *self)
                                            "<Primary>question",
                                            DZL_SHORTCUT_PHASE_GLOBAL);
   dzl_shortcut_theme_set_accel_for_action (theme,
-                                           "win.close",
+                                           "app.quit",
                                            "<Primary>q",
                                            DZL_SHORTCUT_PHASE_GLOBAL);
 }


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