[gnome-builder/wip/gtk4-port] libide/gui: tweak editing preference layout



commit fd5725f87f03035a6fa734ac210ab3bde4e96c60
Author: Christian Hergert <chergert redhat com>
Date:   Wed Apr 20 14:52:47 2022 -0700

    libide/gui: tweak editing preference layout

 src/libide/gui/ide-preferences-builtin.c                      | 1 +
 src/plugins/quick-highlight/gbp-quick-highlight-preferences.c | 2 +-
 src/plugins/spellcheck/gbp-spell-preferences-addin.c          | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/libide/gui/ide-preferences-builtin.c b/src/libide/gui/ide-preferences-builtin.c
index 099d256a6..2b7f15550 100644
--- a/src/libide/gui/ide-preferences-builtin.c
+++ b/src/libide/gui/ide-preferences-builtin.c
@@ -673,6 +673,7 @@ static const IdePreferenceGroupEntry groups[] = {
   { "appearance", "style",                  0, N_("Appearance") },
   { "appearance", "interface",           1000, N_("Interface") },
 
+  { "editing",    "completion",             0, N_("Completion") },
   { "editing",    "formatting",           100, N_("Formatting") },
 
   { "insight",    "general",                0, NULL },
diff --git a/src/plugins/quick-highlight/gbp-quick-highlight-preferences.c 
b/src/plugins/quick-highlight/gbp-quick-highlight-preferences.c
index 224401979..744a33c17 100644
--- a/src/plugins/quick-highlight/gbp-quick-highlight-preferences.c
+++ b/src/plugins/quick-highlight/gbp-quick-highlight-preferences.c
@@ -32,7 +32,7 @@ struct _GbpQuickHighlightPreferences
 };
 
 static const IdePreferenceGroupEntry groups[] = {
-  { "editing", "quick-highlight", 0, N_("Highlighting") },
+  { "editing", "quick-highlight", 300, N_("Highlighting") },
 };
 
 static const IdePreferenceItemEntry items[] = {
diff --git a/src/plugins/spellcheck/gbp-spell-preferences-addin.c 
b/src/plugins/spellcheck/gbp-spell-preferences-addin.c
index 6fc5c604d..f99feb1fa 100644
--- a/src/plugins/spellcheck/gbp-spell-preferences-addin.c
+++ b/src/plugins/spellcheck/gbp-spell-preferences-addin.c
@@ -34,7 +34,7 @@ struct _GbpSpellPreferencesAddin
 };
 
 static const IdePreferenceGroupEntry groups[] = {
-  { "editing", "spelling",      0, N_("Spelling") },
+  { "editing", "spelling",      200, N_("Spelling") },
 };
 
 static const IdePreferenceItemEntry items[] = {


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