bloatpad: Make shortcuts window update

This tests the just added functionality to make shortcuts
track changes in their actions accelerators.
This commit is contained in:
Matthias Clasen 2016-04-17 13:41:29 -04:00
parent 50f041bc57
commit 4aa257b663

View File

@ -10,33 +10,74 @@
<child>
<object class="GtkShortcutsGroup">
<property name="visible">1</property>
<property name="title">Shortcuts</property>
<property name="title">General</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="accelerator">&lt;Primary&gt;c</property>
<property name="title" translatable="yes">Copy</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="accelerator">&lt;Primary&gt;p</property>
<property name="title" translatable="yes">Paste</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="accelerator">F11</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="accelerator">&lt;Primary&gt;q</property>
<property name="title" translatable="yes">Quit</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>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="action-name">win.paste</property>
<property name="title" translatable="yes">Paste</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="action-name">win.justify::left</property>
<property name="title" translatable="yes">Justify left</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="action-name">win.justify::center</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>
</child>
</object>