Skip to content
This repository has been archived by the owner on Oct 16, 2022. It is now read-only.

Commit

Permalink
Update support message
Browse files Browse the repository at this point in the history
  • Loading branch information
teejee2008 committed Feb 29, 2020
1 parent 5a5a8fb commit 1a3c9a5
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions src/Utility/Gtk/DonationWindow.vala
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down Expand Up @@ -132,7 +132,7 @@ public class DonationWindow : Gtk.Window {

private string format_heading(string msg){

return "<span weight=\"bold\" size=\"large\" style=\"italic\">%s</span>".printf(msg);
return "<span size=\"large\" style=\"italic\">%s</span>".printf(msg);
}

private Gtk.Label add_label(string msg){
Expand Down Expand Up @@ -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){

Expand Down

0 comments on commit 1a3c9a5

Please sign in to comment.