Add wiki button

This commit is contained in:
Bernd Schoolmann 2023-12-28 15:07:02 +01:00
parent fa35c3f4aa
commit 885c468419
No known key found for this signature in database
1 changed files with 5 additions and 0 deletions

View File

@ -157,6 +157,11 @@ class SettingsWinvdow(Gtk.ApplicationWindow):
self.logout_button.connect("clicked", lambda button: goldwarden.purge())
self.logout_button.get_style_context().add_class("destructive-action")
self.action_preferences_group.add(self.logout_button)
self.wiki_button = Gtk.LinkButton(uri="https://github.com/quexten/goldwarden/wiki/Flatpak-Configuration")
self.wiki_button.set_label("Help & Wiki")
self.wiki_button.set_margin_top(10)
self.action_preferences_group.add(self.wiki_button)
def update_labels():
GLib.timeout_add(1000, update_labels)