From 885c468419d91d4750210b1d28954fb4b6bee2cd Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Thu, 28 Dec 2023 15:07:02 +0100 Subject: [PATCH] Add wiki button --- ui/settings.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui/settings.py b/ui/settings.py index 39e2f19..389c2d0 100644 --- a/ui/settings.py +++ b/ui/settings.py @@ -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)