mirror of
https://gitlab.gnome.org/World/Authenticator.git
synced 2025-03-04 00:34:40 +01:00
app: Add ctrl+w shortcut for window.close
This commit is contained in:
parent
703904a5ea
commit
52d0eeaa6d
1 changed files with 1 additions and 0 deletions
|
@ -221,6 +221,7 @@ mod imp {
|
||||||
app.set_accels_for_action("win.show-help-overlay", &["<primary>question"]);
|
app.set_accels_for_action("win.show-help-overlay", &["<primary>question"]);
|
||||||
app.set_accels_for_action("win.search", &["<primary>f"]);
|
app.set_accels_for_action("win.search", &["<primary>f"]);
|
||||||
app.set_accels_for_action("win.add_account", &["<primary>n"]);
|
app.set_accels_for_action("win.add_account", &["<primary>n"]);
|
||||||
|
app.set_accels_for_action("window.close", &["<primary>w"]);
|
||||||
// Start the timeout to lock the app if the auto-lock
|
// Start the timeout to lock the app if the auto-lock
|
||||||
// setting is enabled.
|
// setting is enabled.
|
||||||
app.restart_lock_timeout();
|
app.restart_lock_timeout();
|
||||||
|
|
Loading…
Add table
Reference in a new issue