window: Add permanently delete shortcut
Permanently delete images with Shift + Delete like in Files. Adding this since EOG supported it as well. Closes #323 Part-of: <https://gitlab.gnome.org/GNOME/loupe/-/merge_requests/369>
This commit is contained in:
parent
b44412fac6
commit
0dc71357f1
3 changed files with 26 additions and 4 deletions
|
|
@ -158,6 +158,7 @@ impl LpApplication {
|
|||
self.set_accels_for_action("win.print", &["<Ctrl>P"]);
|
||||
self.set_accels_for_action("win.copy", &["<Ctrl>C"]);
|
||||
self.set_accels_for_action("win.trash", &["Delete", "KP_Delete"]);
|
||||
self.set_accels_for_action("win.delete", &["<Shift>Delete", "<Shift>KP_Delete"]);
|
||||
self.set_accels_for_action("win.show-help-overlay", &["<Ctrl>question"]);
|
||||
self.set_accels_for_action("win.leave-fullscreen", &["Escape"]);
|
||||
self.set_accels_for_action("win.toggle-properties", &["F9", "<Alt>Return"]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue