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:
parent
91ed375b97
commit
5a28322e6a
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue