diff options
-rw-r--r-- | core/about.vala | 8 | ||||
-rw-r--r-- | ui/about.ui | 2 |
2 files changed, 8 insertions, 2 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, ""); + }); } } } diff --git a/ui/about.ui b/ui/about.ui index 795d817b..8f2c5d2e 100644 --- a/ui/about.ui +++ b/ui/about.ui @@ -2,7 +2,7 @@ <template class="MidoriAbout" parent="GtkAboutDialog"> <property name="modal">yes</property> <property name="logo-icon-name">midori</property> - <property name="copyright">2007-2018 Christian Dywan</property> + <property name="copyright">2007-2019 Christian Dywan</property> <property name="license-type">GTK_LICENSE_LGPL_2_1</property> <property name="program-name" translatable="yes">Midori Web Browser</property> <property name="comments" translatable="yes">A lightweight web browser.</property> |