diff options
Diffstat (limited to 'core/about.vala')
-rw-r--r-- | core/about.vala | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/core/about.vala b/core/about.vala index bfc87260..e63be5d9 100644 --- a/core/about.vala +++ b/core/about.vala @@ -1,5 +1,5 @@ /* - Copyright (C) 2018 Christian Dywan <christian@twotoats.de> + Copyright (C) 2018-2019 Christian Dywan <christian@twotoats.de> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -16,6 +16,12 @@ namespace Midori { Object (transient_for: parent, website: Config.PROJECT_WEBSITE, version: Config.CORE_VERSION); + var report = add_button (_("_Report a Problem…"), Gtk.ResponseType.HELP) as Gtk.Button; + report.clicked.connect (() => { + var files = new File[1]; + files[0] = File.new_for_uri (Config.PROJECT_BUGS); + Application.get_default ().open (files, ""); + }); } } } |