[gnome-builder/wip/gtk4-port: 408/736] libide/gui: add default keybindings preference




commit 3e20c42cd2884ec3aaab2b757441fb54f7d2bc54
Author: Christian Hergert <chergert redhat com>
Date:   Tue Apr 5 16:14:27 2022 -0700

    libide/gui: add default keybindings preference
    
    So we can toggle to/from default to vim.

 src/libide/gui/ide-preferences-builtin.c | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/src/libide/gui/ide-preferences-builtin.c b/src/libide/gui/ide-preferences-builtin.c
index 95467c294..70d1c3773 100644
--- a/src/libide/gui/ide-preferences-builtin.c
+++ b/src/libide/gui/ide-preferences-builtin.c
@@ -718,6 +718,11 @@ static const IdePreferenceItemEntry items[] = {
     N_("Allow Downloads over Metered Connections"),
     N_("Allow the use of metered network connections when automatically downloading dependencies"),
     "org.gnome.builder.build", NULL, "allow-network-when-metered" },
+
+  { "keyboard", "keybindings", "default", 0, ide_preferences_window_check,
+    N_("Builder"),
+    N_("Keyboard shortcuts similar to GNOME Text Editor"),
+    "org.gnome.builder.editor", NULL, "keybindings", "'default'" },
 };
 
 static gboolean


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