blob: 9ebe730acf53998b37924a35e64b5a0c7b963920 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$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():
|