Commit 4aa257b6 authored by Matthias Clasen's avatar Matthias Clasen

bloatpad: Make shortcuts window update

This tests the just added functionality to make shortcuts
track changes in their actions accelerators.
parent 50f041bc
...@@ -10,33 +10,74 @@ ...@@ -10,33 +10,74 @@
<child> <child>
<object class="GtkShortcutsGroup"> <object class="GtkShortcutsGroup">
<property name="visible">1</property> <property name="visible">1</property>
<property name="title">Shortcuts</property> <property name="title">General</property>
<child> <child>
<object class="GtkShortcutsShortcut"> <object class="GtkShortcutsShortcut">
<property name="visible">1</property> <property name="visible">1</property>
<property name="accelerator">&lt;Primary&gt;c</property> <property name="action-name">app.new</property>
<property name="title" translatable="yes">New Window</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="action-name">app.quit</property>
<property name="title" translatable="yes">Quit</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="action-name">win.fullscreen</property>
<property name="title" translatable="yes">Fullscreen</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="action-name">win.show-help-overlay</property>
<property name="title" translatable="yes">Shortcuts</property>
</object>
</child>
</object>
</child>
<child>
<object class="GtkShortcutsGroup">
<property name="visible">1</property>
<property name="title">Text</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="action-name">win.copy</property>
<property name="title" translatable="yes">Copy</property> <property name="title" translatable="yes">Copy</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkShortcutsShortcut"> <object class="GtkShortcutsShortcut">
<property name="visible">1</property> <property name="visible">1</property>
<property name="accelerator">&lt;Primary&gt;p</property> <property name="action-name">win.paste</property>
<property name="title" translatable="yes">Paste</property> <property name="title" translatable="yes">Paste</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkShortcutsShortcut"> <object class="GtkShortcutsShortcut">
<property name="visible">1</property> <property name="visible">1</property>
<property name="accelerator">F11</property> <property name="action-name">win.justify::left</property>
<property name="title" translatable="yes">Fullscreen</property> <property name="title" translatable="yes">Justify left</property>
</object> </object>
</child> </child>
<child> <child>
<object class="GtkShortcutsShortcut"> <object class="GtkShortcutsShortcut">
<property name="visible">1</property> <property name="visible">1</property>
<property name="accelerator">&lt;Primary&gt;q</property> <property name="action-name">win.justify::center</property>
<property name="title" translatable="yes">Quit</property> <property name="title" translatable="yes">Justify center</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="action-name">win.justify::right</property>
<property name="title" translatable="yes">Justify right</property>
</object> </object>
</child> </child>
</object> </object>
......
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