[gnome-builder/wip/gtk4-port: 1319/1774] libide/gui: add default license preference




commit dc49197817a376e7d2fc669165e810e7d6e72195
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jun 2 17:35:21 2022 -0700

    libide/gui: add default license preference

 src/libide/gui/ide-preferences-builtin.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/src/libide/gui/ide-preferences-builtin.c b/src/libide/gui/ide-preferences-builtin.c
index f0262c985..b0ccc6f85 100644
--- a/src/libide/gui/ide-preferences-builtin.c
+++ b/src/libide/gui/ide-preferences-builtin.c
@@ -697,7 +697,8 @@ static const IdePreferenceGroupEntry groups[] = {
 
   { "keyboard",   "keybindings",            0, N_("Keyboard Shortcuts") },
 
-  { "projects",   "workspace",              0, N_("Workspace") },
+  { "projects",   "session",                0, N_("Behavior") },
+  { "projects",   "templates",             10, N_("Templates") },
 
   { "debug",      "breakpoints",            0, N_("Breakpoints") },
 
@@ -714,11 +715,16 @@ static const IdePreferenceItemEntry items[] = {
     N_("Switch documents using a tabbed interface"),
     "org.gnome.builder.editor", NULL, "use-tabbar" },
 
-  { "projects", "workspace", "restore", 0, ide_preferences_window_toggle,
+  { "projects", "session", "restore", 0, ide_preferences_window_toggle,
     N_("Restore Previous Session"),
     N_("Open previously opened files when loading a project"),
     "org.gnome.builder", NULL, "restore-previous-files" },
 
+  { "projects", "templates", "default-license", 0, ide_preferences_window_combo,
+    N_("License"),
+    N_("The default license when creating new projects"),
+    "org.gnome.builder", NULL, "default-license" },
+
   { "debug", "breakpoints", "break-on-main", 0, ide_preferences_window_toggle,
     N_("Break on Main"),
     N_("Automatically insert a breakpoint at the start of the application"),


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