Commit 72e49eef authored by Stefano Facchini's avatar Stefano Facchini

Add Keyboard Shortcuts help window

parent a58a7fe9
......@@ -9,6 +9,10 @@
</item>
</section>
<section>
<item>
<attribute name="label" translatable="yes">Keyboard _Shortcuts</attribute>
<attribute name="action">win.show-help-overlay</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_Help</attribute>
<attribute name="action">win.help</attribute>
......
......@@ -6,6 +6,7 @@
<file compressed="true">baobab-main-window.ui</file>
</gresource>
<gresource prefix="/org/gnome/baobab/gtk">
<file compressed="true">help-overlay.ui</file>
<file compressed="true">menus.ui</file>
</gresource>
<gresource prefix="/org/gnome/baobab">
......
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<object class="GtkShortcutsWindow" id="help_overlay">
<property name="modal">true</property>
<child>
<object class="GtkShortcutsSection">
<property name="visible">true</property>
<property name="section-name">shortcuts</property>
<property name="max-height">10</property>
<child>
<object class="GtkShortcutsGroup">
<property name="visible">true</property>
<property name="title" translatable="yes" context="shortcut window">General</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">true</property>
<property name="accelerator">F10</property>
<property name="title" translatable="yes" context="shortcut window">Show / Hide primary menu</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">true</property>
<property name="accelerator">&lt;Primary&gt;r</property>
<property name="title" translatable="yes" context="shortcut window">Rescan current location</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">true</property>
<property name="accelerator">&lt;Primary&gt;o</property>
<property name="title" translatable="yes" context="shortcut window">Scan folder</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">true</property>
<property name="title" translatable="yes" context="shortcut window">Show Keyboard Shortcuts</property>
<property name="accelerator">&lt;ctrl&gt;&lt;shift&gt;question</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">true</property>
<property name="title" translatable="yes" context="shortcut window">Quit</property>
<property name="accelerator">&lt;Primary&gt;q</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</interface>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment