From c615fee86e2d8ccb860413a727c20878e040f982 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Tue, 26 Mar 2019 13:13:11 +0100 Subject: Undo code to find scaling factor, not working --- qml/mageiawelcome.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'qml') diff --git a/qml/mageiawelcome.py b/qml/mageiawelcome.py index 415c70f..6afbf45 100644 --- a/qml/mageiawelcome.py +++ b/qml/mageiawelcome.py @@ -45,6 +45,8 @@ class ConfList(QAbstractListModel): desktop = os.getenv("XDG_CURRENT_DESKTOP") self.screen_factor = 0.0 if desktop == 'Gnome Wayland': + """ + no effect, the value is stored elsewhere, didn't found it. from gi.repository.Gio import Settings gso = Settings.new("org.gnome.desktop.interface") val = gso.get_uint("scaling-factor") @@ -52,6 +54,8 @@ class ConfList(QAbstractListModel): self.screen_factor = 1.0 else: self.screen_factor = float(val) + """ + pass # Search active network connections net = QNetworkConfigurationManager() @@ -66,7 +70,7 @@ class ConfList(QAbstractListModel): netconfs += ", " + conf.name() self.configuration = [ - {'name': translate('ConfList',"Congratulations!
You have completed the installation of {}").format(release)}, + {'name': translate('ConfList',"Congratulations!
You have are now running {}").format(release)}, {'name': translate('ConfList',"You are using linux kernel: {}").format(kernel)}, {'name': translate('ConfList',"Your system architecture is: {}").format(arch)}, {'name': translate('ConfList',"You are now using the Desktop: {}").format(desktop)}, -- cgit v1.2.1