app: Split rotate actions

To ensure simplicity of the process, replace the rotate actions
with new two actions, without modifying the existing rotate_image method.

Part-of: <https://gitlab.gnome.org/Incubator/loupe/-/merge_requests/201>
This commit is contained in:
Sabri Ünal 2023-04-24 02:11:43 +03:00 • committed by Marge Bot
parent 1f2be8353a
commit 32ee47d08f
5 changed files with 16 additions and 15 deletions

View file

@ -134,13 +134,13 @@
<child>
<object class="GtkShortcutsShortcut">
<property name="title" translatable="yes" context="shortcut window">Rotate Clockwise</property>
<property name="accelerator">&lt;Ctrl&gt;R</property>
<property name="action-name">win.rotate_cw</property>
</object>
</child>
<child>
<object class="GtkShortcutsShortcut">
<property name="title" translatable="yes" context="shortcut window">Rotate Counterclockwise</property>
<property name="accelerator">&lt;Ctrl&gt;&lt;Shift&gt;R</property>
<property name="action-name">win.rotate_ccw</property>
</object>
</child>
</object>