From def7f7a6ba61e51d719ff1d5fdc227d6ee27f018 Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Sat, 20 Jan 2024 17:35:58 +0100 Subject: [PATCH] Add totp and launch url shortcuts to settings ui --- ui/settings.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ui/settings.py b/ui/settings.py index 197c031..b122e7d 100644 --- a/ui/settings.py +++ b/ui/settings.py @@ -113,11 +113,23 @@ class SettingsWinvdow(Gtk.ApplicationWindow): self.copy_password_shortcut_row.set_subtitle("P") self.shortcut_preferences_group.add(self.copy_password_shortcut_row) + self.copy_totp_shortcut_row = Adw.ActionRow() + self.copy_totp_shortcut_row.set_title("Copy TOTP Shortcut") + self.copy_totp_shortcut_row.set_subtitle("T") + self.shortcut_preferences_group.add(self.copy_totp_shortcut_row) + + self.launch_uri_shortcut_row = Adw.ActionRow() + self.launch_uri_shortcut_row.set_title("Launch URI Shortcut") + self.launch_uri_shortcut_row.set_subtitle("L") + self.shortcut_preferences_group.add(self.launch_uri_shortcut_row) + self.launch_web_vault_shortcut_row = Adw.ActionRow() self.launch_web_vault_shortcut_row.set_title("Launch Web Vault Shortcut") self.launch_web_vault_shortcut_row.set_subtitle("V") self.shortcut_preferences_group.add(self.launch_web_vault_shortcut_row) + + self.vault_status_preferences_group = Adw.PreferencesGroup() self.vault_status_preferences_group.set_title("Vault Status") self.preferences_page.add(self.vault_status_preferences_group)