window: Fix Left/Right button direction for RTL
This also fixes the issue with the buttons triggering focus changes when the action is deactivated because buttons know have their own action. Fixes #44 Issue #38
This commit is contained in:
parent
69889820cd
commit
74a067e3b8
2 changed files with 18 additions and 2 deletions
|
|
@ -180,8 +180,8 @@ impl LpApplication {
|
|||
self.set_accels_for_action("win.toggle-fullscreen", &["F11"]);
|
||||
self.set_accels_for_action("win.set-background", &["<Ctrl>F8"]);
|
||||
|
||||
self.set_accels_for_action("win.previous", &["Left", "Page_Down"]);
|
||||
self.set_accels_for_action("win.next", &["Right", "Page_Up"]);
|
||||
self.set_accels_for_action("win.image-left", &["Left", "Page_Down"]);
|
||||
self.set_accels_for_action("win.image-right", &["Right", "Page_Up"]);
|
||||
self.set_accels_for_action("win.first", &["Home"]);
|
||||
self.set_accels_for_action("win.last", &["End"]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue