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:
parent
1f2be8353a
commit
32ee47d08f
5 changed files with 16 additions and 15 deletions
|
|
@ -99,8 +99,7 @@
|
|||
<object class="GtkButton">
|
||||
<property name="icon-name">object-rotate-left-symbolic</property>
|
||||
<property name="tooltip-text" translatable="yes">Rotate Left</property>
|
||||
<property name="action-name">win.rotate</property>
|
||||
<property name="action-target">-90.0</property>
|
||||
<property name="action-name">win.rotate_ccw</property>
|
||||
<style>
|
||||
<class name="flat" />
|
||||
</style>
|
||||
|
|
@ -110,8 +109,7 @@
|
|||
<object class="GtkButton">
|
||||
<property name="icon-name">object-rotate-right-symbolic</property>
|
||||
<property name="tooltip-text" translatable="yes">Rotate Right</property>
|
||||
<property name="action-name">win.rotate</property>
|
||||
<property name="action-target">90.0</property>
|
||||
<property name="action-name">win.rotate_cw</property>
|
||||
<style>
|
||||
<class name="flat" />
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue