window: Add missing shortcuts

Add shortcuts
- F9 Image properties
- F10 Main menu
- Ctrl +/- for zoom
- Ctrl 0 for best fit
- Ctrl [Shift] R for rotate
- Escape to leave fullscrenen
Updated help overlay accordingly.
This commit is contained in:
Sophie Herold 2022-11-23 19:12:19 +01:00
parent 583794a3ec
commit f1593203a0
5 changed files with 200 additions and 14 deletions

View file

@ -121,11 +121,24 @@
</child>
</object>
</property>
<child>
<!-- Set the shortcut here since it only makes sense if the button is visible -->
<object class="GtkShortcutController">
<property name="scope">managed</property>
<child>
<object class="GtkShortcut">
<property name="trigger">F10</property>
<property name="action">activate</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child type="end">
<object class="GtkToggleButton" id="properties_button">
<property name="icon-name">help-about-symbolic</property>
<property name="tooltip-text" translatable="yes">Image Properties</property>
</object>
</child>
</object>