diff options
author | Marvin W <git@larma.de> | 2020-09-19 13:27:53 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2020-11-12 18:51:20 +0100 |
commit | 2a775bcfb9365058376bd45dd88f5bf164dec688 (patch) | |
tree | 36a8071d0e5634eded6956467264de39c4f03060 /main | |
parent | 7726c0b75b9fa8a5fb886cbbf1081a0625cf9562 (diff) | |
download | dino-2a775bcfb9365058376bd45dd88f5bf164dec688.tar.gz dino-2a775bcfb9365058376bd45dd88f5bf164dec688.zip |
Prepare for 0.2.0 release
Diffstat (limited to 'main')
-rw-r--r-- | main/data/im.dino.Dino.appdata.xml.in | 2 | ||||
-rw-r--r-- | main/src/ui/application.vala | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/main/data/im.dino.Dino.appdata.xml.in b/main/data/im.dino.Dino.appdata.xml.in index 005bf97b..dddafdac 100644 --- a/main/data/im.dino.Dino.appdata.xml.in +++ b/main/data/im.dino.Dino.appdata.xml.in @@ -26,7 +26,7 @@ <developer_name>Dino Development Team</developer_name> <url type="homepage">https://dino.im</url> <url type="bugtracker">https://github.com/dino/dino/issues</url> - <url type="donation">https://liberapay.com/Dino</url> + <url type="donation">https://dino.im/#donate</url> <url type="translate">https://hosted.weblate.org/projects/dino/</url> <!-- TODO: Point this to a webpage with documentation when there is one <url type="help">http://dino.im/help/</url> diff --git a/main/src/ui/application.vala b/main/src/ui/application.vala index 7c473d2f..d2b82969 100644 --- a/main/src/ui/application.vala +++ b/main/src/ui/application.vala @@ -188,10 +188,16 @@ public class Dino.Ui.Application : Gtk.Application, Dino.Application { } private void show_about_window() { + string? version = Dino.VERSION.strip().length == 0 ? null : Dino.VERSION; + if (version != null && !version.contains("git")) { + switch (version.substring(0, 3)) { + case "0.2": version = @"$version - <span font_style='italic'>Mexican Caribbean Coral Reefs</span>"; break; + } + } show_about_dialog(get_active_window(), logo_icon_name: "im.dino.Dino", program_name: "Dino", - version: Dino.VERSION.strip().length == 0 ? null : Dino.VERSION, + version: version, comments: "Dino. Communicating happiness.", website: "https://dino.im/", website_label: "dino.im", |