summaryrefslogtreecommitdiff
path: root/x11/tint2/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'x11/tint2/patches/patch-ac')
-rw-r--r--x11/tint2/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/tint2/patches/patch-ac b/x11/tint2/patches/patch-ac
new file mode 100644
index 00000000000..9ebe730acf5
--- /dev/null
+++ b/x11/tint2/patches/patch-ac
@@ -0,0 +1,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():