[gnome-builder/wip/gtk4-port: 212/736] libide/gui: setup keyboard shortcuts action




commit f8beff397e5f21fe047a9efb391206cc6c915f06
Author: Christian Hergert <chergert redhat com>
Date:   Wed Mar 30 13:32:35 2022 -0700

    libide/gui: setup keyboard shortcuts action

 src/libide/gui/{ => gtk}/help-overlay.ui | 0
 src/libide/gui/gtk/menus.ui              | 2 +-
 src/libide/gui/libide-gui.gresource.xml  | 4 ++--
 3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/libide/gui/help-overlay.ui b/src/libide/gui/gtk/help-overlay.ui
similarity index 100%
rename from src/libide/gui/help-overlay.ui
rename to src/libide/gui/gtk/help-overlay.ui
diff --git a/src/libide/gui/gtk/menus.ui b/src/libide/gui/gtk/menus.ui
index b2033aa0e..4daba82e9 100644
--- a/src/libide/gui/gtk/menus.ui
+++ b/src/libide/gui/gtk/menus.ui
@@ -27,7 +27,7 @@
       <item>
         <attribute name="id">ide-primary-workspace-menu-shortcuts</attribute>
         <attribute name="label" translatable="yes">Keyboard Shortcuts</attribute>
-        <attribute name="action">app.shortcuts</attribute>
+        <attribute name="action">win.show-help-overlay</attribute>
         <attribute name="accel">&lt;primary&gt;question</attribute>
       </item>
       <item>
diff --git a/src/libide/gui/libide-gui.gresource.xml b/src/libide/gui/libide-gui.gresource.xml
index bdd17e307..8235d4336 100644
--- a/src/libide/gui/libide-gui.gresource.xml
+++ b/src/libide/gui/libide-gui.gresource.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <gresources>
-  <gresource prefix="/org/gnome/builder/ui">
-    <file preprocess="xml-stripblanks">help-overlay.ui</file>
+  <gresource prefix="/org/gnome/builder">
+    <file preprocess="xml-stripblanks">gtk/help-overlay.ui</file>
   </gresource>
   <gresource prefix="/org/gnome/libide-gui">
     <file preprocess="xml-stripblanks">gtk/menus.ui</file>


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