[gnome-builder] plugins/editorui: add group for keyboard shortcut theme



commit 23af4bcbbc1640487e1d1a50ddf51e84ab72ac61
Author: Christian Hergert <chergert redhat com>
Date:   Tue Aug 16 14:35:53 2022 -0700

    plugins/editorui: add group for keyboard shortcut theme

 src/libide/gui/tweaks.ui             |  4 ++++
 src/plugins/editorui/editorui.plugin |  2 +-
 src/plugins/editorui/tweaks.ui       | 22 ++++++++++++++++++++++
 3 files changed, 27 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/gui/tweaks.ui b/src/libide/gui/tweaks.ui
index 897e7c148..7f5b51439 100644
--- a/src/libide/gui/tweaks.ui
+++ b/src/libide/gui/tweaks.ui
@@ -19,6 +19,10 @@
           <object class="IdeTweaksPage" id="shortcuts_page">
             <property name="icon-name">preferences-desktop-keyboard-shortcuts-symbolic</property>
             <property name="title" translatable="yes">Keyboard Shortcuts</property>
+            <child>
+              <object class="IdeTweaksGroup" id="shorcut_theme_group">
+              </object>
+            </child>
           </object>
         </child>
       </object>
diff --git a/src/plugins/editorui/editorui.plugin b/src/plugins/editorui/editorui.plugin
index 005b0d990..0f9ebc0af 100644
--- a/src/plugins/editorui/editorui.plugin
+++ b/src/plugins/editorui/editorui.plugin
@@ -2,7 +2,7 @@
 Authors=Christian Hergert <christian hergert me>
 Builtin=true
 Copyright=Copyright © 2014-2022 Christian Hergert
-Depends=platformui;
+Depends=platformui
 Embedded=_gbp_editorui_register_types
 Hidden=true
 Module=editorui
diff --git a/src/plugins/editorui/tweaks.ui b/src/plugins/editorui/tweaks.ui
index c7d3c73a8..4ff7cb491 100644
--- a/src/plugins/editorui/tweaks.ui
+++ b/src/plugins/editorui/tweaks.ui
@@ -205,6 +205,28 @@
             </child>
           </object>
         </child>
+        <child internal-child="shortcuts_page">
+          <object class="IdeTweaksPage">
+            <child internal-child="shorcut_theme_group">
+              <object class="IdeTweaksGroup">
+                <child>
+                  <object class="IdeTweaksCombo" id="shortcut_theme_combo">
+                    <property name="title" translatable="yes">Keyboard Theme</property>
+                    <property name="subtitle" translatable="yes">Shortcut themes provide a keyboard 
experience similar to other IDEs and editors</property>
+                    <property name="settings">settings_org_gnome_builder_editor</property>
+                    <property name="key">keybindings</property>
+                    <child>
+                      <object class="IdeTweaksChoice">
+                        <property name="title" translatable="yes">Builder</property>
+                        <property name="action-target">'default'</property>
+                      </object>
+                    </child>
+                  </object>
+                </child>
+              </object>
+            </child>
+          </object>
+        </child>
       </object>
     </child>
   </template>


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