summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2017-07-12 21:27:49 +0200
committerPapoteur <papoteur@mageialinux-online.org>2017-07-12 21:27:49 +0200
commitabe6db5f40edf166966b652e50d6e5d05edbe9d6 (patch)
tree67f3b75e38e8346cfe744d243a58cc0772fe08a3
parent1a212f699c793555cd4d2b33bdafaa98ed189c0d (diff)
downloadmageiawelcome-abe6db5f40edf166966b652e50d6e5d05edbe9d6.tar
mageiawelcome-abe6db5f40edf166966b652e50d6e5d05edbe9d6.tar.gz
mageiawelcome-abe6db5f40edf166966b652e50d6e5d05edbe9d6.tar.bz2
mageiawelcome-abe6db5f40edf166966b652e50d6e5d05edbe9d6.tar.xz
mageiawelcome-abe6db5f40edf166966b652e50d6e5d05edbe9d6.zip
Update identification of Gnome desktop (mga#21229)
-rw-r--r--usr/share/mageiawelcome/helpers.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/share/mageiawelcome/helpers.py b/usr/share/mageiawelcome/helpers.py
index ea581f3..a8148d3 100644
--- a/usr/share/mageiawelcome/helpers.py
+++ b/usr/share/mageiawelcome/helpers.py
@@ -14,7 +14,8 @@ def get_desktop_name(x):
return {
'01KDE4':'KDE',
'02GNOME':'Gnome',
- 'gnome': 'Gnome',
+ 'gnome': 'Gnome Wayland',
+ 'gnome-xorg': 'Gnome X.org',
'LXDE':'LXDE',
'MATE':'Mate',
'Cinnamon':'Cinnamon',
@@ -31,6 +32,7 @@ def get_desktop_name2(x):
'XFCE':'Xfce',
'LXQt':'LXQt',
'MATE':'Mate',
+ 'GNOME':'Gnome'
'X-Cinnamon':'Cinnamon',
}.get(x,'unknown')