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
|
|
@ -174,8 +174,8 @@ impl LpApplication {
|
|||
self.set_accels_for_action("win.pan-up", &["<Ctrl>Up"]);
|
||||
self.set_accels_for_action("win.pan-down", &["<Ctrl>Down"]);
|
||||
|
||||
self.set_accels_for_action("win.rotate(90.0)", &["<Ctrl>R"]);
|
||||
self.set_accels_for_action("win.rotate(-90.0)", &["<Ctrl><Shift>R"]);
|
||||
self.set_accels_for_action("win.rotate_cw", &["<Ctrl>R"]);
|
||||
self.set_accels_for_action("win.rotate_ccw", &["<Ctrl><Shift>R"]);
|
||||
|
||||
self.set_accels_for_action("window.close", &["<Ctrl>W"]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue