edit_window: Add save and cancel shortcuts

This commit is contained in:
Sophie Herold 2025-01-31 13:49:20 +01:00
parent 11553bdab0
commit 8bb6f8da88
4 changed files with 70 additions and 11 deletions

View file

@ -286,6 +286,30 @@
<child>
<object class="GtkShortcutsGroup">
<property name="title" translatable="yes" context="shortcut window">Editing</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="title" translatable="yes" context="shortcut window">Open Editing View</property>
<property name="accelerator">E</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="title" translatable="yes" context="shortcut window">Replace Original</property>
<property name="accelerator">&lt;Ctrl&gt;S</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="title" translatable="yes" context="shortcut window">Save As</property>
<property name="accelerator">&lt;Ctrl&gt;&lt;Shift&gt;S</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="title" translatable="yes" context="shortcut window">Cancel</property>
<property name="accelerator">Escape</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="title" translatable="yes" context="shortcut window">Rotate Clockwise</property>