summaryrefslogtreecommitdiffstats
path: root/qml
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2019-03-26 13:13:11 +0100
committerPapoteur <papoteur@mageia.org>2019-03-26 14:23:39 +0100
commitc615fee86e2d8ccb860413a727c20878e040f982 (patch)
tree6e4f968bae1b609b10317055096b1961d4f15fb4 /qml
parent802e1fb2b3a7d99e5c26c36775b60aa35a7d7f64 (diff)
downloadmageiawelcome-c615fee86e2d8ccb860413a727c20878e040f982.tar
mageiawelcome-c615fee86e2d8ccb860413a727c20878e040f982.tar.gz
mageiawelcome-c615fee86e2d8ccb860413a727c20878e040f982.tar.bz2
mageiawelcome-c615fee86e2d8ccb860413a727c20878e040f982.tar.xz
mageiawelcome-c615fee86e2d8ccb860413a727c20878e040f982.zip
Undo code to find scaling factor, not working
Diffstat (limited to 'qml')
-rw-r--r--qml/mageiawelcome.py6
1 files changed, 5 insertions, 1 deletions
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',"<b>Congratulations!</b><BR />You have completed the installation of {}").format(release)},
+ {'name': translate('ConfList',"<b>Congratulations!</b><BR />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)},