Skip to content

Commit

Permalink
window: add F5 for sync
Browse files Browse the repository at this point in the history
Adds F5 as a short cut for syncing. This brings the application inline
with other GNOME applications (such as GNOME Calendar) and popular
browsers. To avoid user confusion, the previous keybind is kept.
  • Loading branch information
FineFindus committed Dec 5, 2024
1 parent 7147f23 commit faec6da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion errands/widgets/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ def _confirm(dialog: Gtk.FileDialog, res) -> None:
self._create_action("about", _about)
self._create_action("import", _import, ["<primary>i"])
self._create_action("quit", lambda *_: State.application.quit(), ["<primary>q"])
self._create_action("sync", _sync, ["<primary>f"])
self._create_action("sync", _sync, ["F5", "<primary>f"])
self._create_action(
"quit",
lambda *_: self.props.application.quit(),
Expand Down

0 comments on commit faec6da

Please sign in to comment.