Fix appearance of status icon in MATE

Tested in Debian testing (Buster) with gtk2 based MATE 1.12,
gtk3 based 1.16 and 1.18.

Moreover the used environment variable is depreacated already in 1.12:
$ echo $MATE_DESKTOP_SESSION_ID
this-is-deprecated

Fixes #8757
This commit is contained in:
Andrey Gursky 2017-11-30 23:23:30 +01:00
parent 91ed375b97
commit 5a28322e6a
1 changed files with 0 additions and 3 deletions

View File

@ -125,9 +125,6 @@ class StatusIcon:
if os.environ.get('KDE_FULL_SESSION') == 'true':
# detect KDE session. see #5476
self.statusicon_size = '32'
if os.environ.get('MATE_DESKTOP_SESSION_ID'):
# detect MATE session.
self.statusicon_size = '16'
self.set_img()
def set_img(self):