[gnome-tour] stop falling back to 3.36 if we don't detect a version
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tour] stop falling back to 3.36 if we don't detect a version
- Date: Fri, 4 Sep 2020 13:51:23 +0000 (UTC)
commit 7f20a7c7b4e32ce77cd2b35e4adc2efa30a8468c
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Fri Sep 4 15:50:11 2020 +0200
stop falling back to 3.36 if we don't detect a version
src/widgets/pages/welcome.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/widgets/pages/welcome.rs b/src/widgets/pages/welcome.rs
index 53b4f4b..add7d8e 100644
--- a/src/widgets/pages/welcome.rs
+++ b/src/widgets/pages/welcome.rs
@@ -140,7 +140,7 @@ impl WelcomePageWidget {
};
let name = glib::get_os_info("NAME").unwrap_or_else(|| "GNOME".into());
- let version = glib::get_os_info("VERSION").unwrap_or_else(|| "3.36".into());
+ let version = glib::get_os_info("VERSION").unwrap_or_else(|| "".into());
// Translators: The following string is formated as "Welcome to GNOME 3.36" for example
let title = gtk::Label::new(Some(&i18n_f("Welcome to {} {}", &[&name, &version])));
title.set_margin_top(36);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]