Skip to content

Commit c853333

Browse files
committed
revert bugfix github#94(was incomplete)
1 parent 5023feb commit c853333

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

MateTweak/MainWindow.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -577,9 +577,7 @@ def enable_applets(self):
577577
When indicators are disabled some MATE applets need enabling
578578
or showing.
579579
"""
580-
p_to_start = os.path.join(config.libexecdir, 'mate-volume-control-applet')
581-
if os.path.exists(p_to_start):
582-
pid = subprocess.Popen( p_to_start, stdout=DEVNULL, stderr=DEVNULL).pid
580+
pid = subprocess.Popen(['mate-volume-control-applet'], stdout=DEVNULL, stderr=DEVNULL).pid
583581
self.remove_autostart('mate-volume-control-applet.desktop')
584582
self.create_autostart('mate-volume-control-applet.desktop', __APPLET_SOUND__)
585583
if os.path.exists(os.path.join(config.libexecdir, 'ayatana-indicator-power', 'ayatana-indicator-power-service')):

0 commit comments

Comments
 (0)