From 2a775bcfb9365058376bd45dd88f5bf164dec688 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Sat, 19 Sep 2020 13:27:53 +0200 Subject: Prepare for 0.2.0 release --- main/src/ui/application.vala | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'main/src/ui') 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 - Mexican Caribbean Coral Reefs"; 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", -- cgit v1.2.3-70-g09d2