[gnome-builder/wip/gtk4-port: 1491/1774] libide/gui: move snippets into seperate group




commit 866d19c079167130d29c8e05e00531ee4e0733c2
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jun 13 18:01:40 2022 -0700

    libide/gui: move snippets into seperate group

 src/libide/gui/ide-preferences-builtin.c              | 1 +
 src/plugins/editorui/gbp-editorui-preferences-addin.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/gui/ide-preferences-builtin.c b/src/libide/gui/ide-preferences-builtin.c
index 986b7b7d0..08ad8e4e0 100644
--- a/src/libide/gui/ide-preferences-builtin.c
+++ b/src/libide/gui/ide-preferences-builtin.c
@@ -677,6 +677,7 @@ static const IdePreferenceGroupEntry groups[] = {
 
   { "editing",    "completion",             0, N_("Completion") },
   { "editing",    "formatting",           100, N_("Formatting") },
+  { "editing",    "snippets",             200, N_("Snippets") },
 
   { "insight",    "general",                0, NULL },
   { "insight",    "completion",            10, N_("Completion") },
diff --git a/src/plugins/editorui/gbp-editorui-preferences-addin.c 
b/src/plugins/editorui/gbp-editorui-preferences-addin.c
index f22f7470c..f662451b9 100644
--- a/src/plugins/editorui/gbp-editorui-preferences-addin.c
+++ b/src/plugins/editorui/gbp-editorui-preferences-addin.c
@@ -101,7 +101,7 @@ static const IdePreferenceItemEntry items[] = {
     N_("Automatically select the first completion when displayed"),
     "org.gnome.builder.editor", NULL, "select-first-completion" },
 
-  { "editing", "completion", "enable-snippets", 30, ide_preferences_window_toggle,
+  { "editing", "snippets", "enable-snippets", 0, ide_preferences_window_toggle,
     N_("Expand Snippets"),
     N_("Use “Tab” to expand configured snippets in the editor"),
     "org.gnome.builder.editor", NULL, "enable-snippets" },


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