summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Napora <napcok@gmail.com>2015-08-09 12:44:09 +0200
committerDaniel Napora <napcok@gmail.com>2015-08-09 12:44:09 +0200
commit3b37c5b4f55383b9ffaf69ab129245e355534cc8 (patch)
treefe593ef917d25bbadb75381b77732c9cbc4b0c52
parentb6798ad864bed74ae017555e7c8c6d3a368fc8b2 (diff)
downloadmageiawelcome-3b37c5b4f55383b9ffaf69ab129245e355534cc8.tar
mageiawelcome-3b37c5b4f55383b9ffaf69ab129245e355534cc8.tar.gz
mageiawelcome-3b37c5b4f55383b9ffaf69ab129245e355534cc8.tar.bz2
mageiawelcome-3b37c5b4f55383b9ffaf69ab129245e355534cc8.tar.xz
mageiawelcome-3b37c5b4f55383b9ffaf69ab129245e355534cc8.zip
fix unknown desktop on MATE and Cinnamon
-rw-r--r--usr/share/mageiawelcome/helpers.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr/share/mageiawelcome/helpers.py b/usr/share/mageiawelcome/helpers.py
index 697bdb4..5899b54 100644
--- a/usr/share/mageiawelcome/helpers.py
+++ b/usr/share/mageiawelcome/helpers.py
@@ -16,9 +16,8 @@ def get_desktop_name(x):
'02GNOME':'Gnome',
'gnome': 'Gnome',
'LXDE':'LXDE',
- '10MATE':'Mate',
- '10Cinnamon':'Cinnamon',
- '05RazorDesktop':'RazorQt',
+ 'MATE':'Mate',
+ 'Cinnamon':'Cinnamon',
'23E17':'Enlightenment',
'07IceWM':'IceWM',
'26Openbox':'Openbox',
@@ -31,6 +30,8 @@ def get_desktop_name2(x):
'KDE':'KDE',
'XFCE':'Xfce',
'LXQt':'LXQt',
+ 'MATE':'Mate',
+ 'X-Cinnamon':'Cinnamon',
}.get(x,'unknown')
def get_irc_client():