From 1a3c9a509c6914cdf7ef9ed747249e0006caf204 Mon Sep 17 00:00:00 2001 From: Tony George Date: Sat, 29 Feb 2020 12:04:54 +0530 Subject: [PATCH] Update support message --- src/Utility/Gtk/DonationWindow.vala | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) mode change 100644 => 100755 src/Utility/Gtk/DonationWindow.vala diff --git a/src/Utility/Gtk/DonationWindow.vala b/src/Utility/Gtk/DonationWindow.vala old mode 100644 new mode 100755 index 4d7be9e7..6a446bee --- a/src/Utility/Gtk/DonationWindow.vala +++ b/src/Utility/Gtk/DonationWindow.vala @@ -82,13 +82,13 @@ public class DonationWindow : Gtk.Window { add_label(msg); - msg = _("Use the issue tracker for reporting issues, asking questions, and requesting features. Please avoid reporting issues by email."); + msg = _("Since this a free application there is no dedicated support for this app. You can use the GitHub issue tracker for reporting issues, or post your questions on the Linux Mint forums. Please avoid reporting issues by email."); add_label(msg); - hbox = add_hbox(); + hbox = add_vbox(); - add_button(hbox, _("Issue Tracker"), + add_button(hbox, _("GitHub"), "https://github.com/teejee2008/%s/issues".printf(appname.down())); if (has_wiki){ @@ -132,7 +132,7 @@ public class DonationWindow : Gtk.Window { private string format_heading(string msg){ - return "%s".printf(msg); + return "%s".printf(msg); } private Gtk.Label add_label(string msg){ @@ -160,6 +160,15 @@ public class DonationWindow : Gtk.Window { vbox_main.add(hbox); return hbox; } + + private Gtk.ButtonBox add_vbox(){ + + var vbox = new Gtk.ButtonBox(Orientation.VERTICAL); + vbox.set_layout(Gtk.ButtonBoxStyle.CENTER); + vbox.set_spacing(6); + vbox_main.add(vbox); + return vbox; + } private void add_button(Gtk.Box box, string text, string url){