13 lines
609 B
Text
13 lines
609 B
Text
$NetBSD: patch-ac,v 1.1 2010/07/05 08:14:42 tnn Exp $
|
|
|
|
--- src/tint2conf/tintwizard.py.orig 2010-05-09 19:00:13.000000000 +0000
|
|
+++ src/tint2conf/tintwizard.py
|
|
@@ -1112,7 +1112,7 @@ class TintWizardGUI(gtk.Window):
|
|
def apply(self, widget, event=None, confirmChange=True):
|
|
"""Applies the current config to tint2."""
|
|
# Check if tint2 is running
|
|
- procs = os.popen('pidof "tint2"') # Check list of active processes for tint2
|
|
+ procs = os.popen('pgrep "^tint2$"') # Check list of active processes for tint2
|
|
pids = [] # List of process ids for tint2
|
|
|
|
for proc in procs.readlines():
|