Prepare for 0.2.0 release

This commit is contained in:
Marvin W 2020-09-19 13:27:53 +02:00
parent 7726c0b75b
commit 2a775bcfb9
No known key found for this signature in database
GPG key ID: 072E9235DB996F2A
2 changed files with 8 additions and 2 deletions

View file

@ -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>

View file

@ -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",