[sysprof/wip/chergert/sysprof-3] gtk: add more keyboard shortcuts to dialog



commit d5ed21705610c7f46cef5f5e83b365cf1e1198c9
Author: Christian Hergert <chergert redhat com>
Date:   Thu May 23 17:28:13 2019 -0700

    gtk: add more keyboard shortcuts to dialog

 src/sysprof/gtk/help-overlay.ui | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
---
diff --git a/src/sysprof/gtk/help-overlay.ui b/src/sysprof/gtk/help-overlay.ui
index a08fa8e..6b362cb 100644
--- a/src/sysprof/gtk/help-overlay.ui
+++ b/src/sysprof/gtk/help-overlay.ui
@@ -6,10 +6,40 @@
         <property name="visible">1</property>
         <property name="section-name">sysprof</property>
         <property name="title" translatable="yes" context="shortcut window">Sysprof Shortcuts</property>
+        <child>
+          <object class="GtkShortcutsGroup">
+            <property name="visible">1</property>
+            <property name="title" translatable="yes" context="shortcut window">Files</property>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">1</property>
+                <property name="title" translatable="yes" context="shortcut window">Save Recording</property>
+                <property name="subtitle" translatable="yes" context="shortcut window">Saves the current 
recording</property>
+                <property name="accelerator">&lt;Primary&gt;s</property>
+              </object>
+            </child>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">1</property>
+                <property name="title" translatable="yes" context="shortcut window">Open recording</property>
+                <property name="subtitle" translatable="yes" context="shortcut window">Opens a previously 
saved recording</property>
+                <property name="accelerator">&lt;Primary&gt;o</property>
+              </object>
+            </child>
+          </object>
+        </child>
         <child>
           <object class="GtkShortcutsGroup">
             <property name="visible">1</property>
             <property name="title" translatable="yes" context="shortcut window">Recording</property>
+            <child>
+              <object class="GtkShortcutsShortcut">
+                <property name="visible">1</property>
+                <property name="title" translatable="yes" context="shortcut window">Record again</property>
+                <property name="subtitle" translatable="yes" context="shortcut window">Starts a new 
recording</property>
+                <property name="accelerator">&lt;Primary&gt;r</property>
+              </object>
+            </child>
             <child>
               <object class="GtkShortcutsShortcut">
                 <property name="visible">1</property>


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