openbsd-ports/x11/tint/patches/patch-src_tint2conf_tintwizard_py

13 lines
647 B
Plaintext
Raw Normal View History

$OpenBSD: patch-src_tint2conf_tintwizard_py,v 1.1 2010/06/15 10:10:06 edd Exp $
--- src/tint2conf/tintwizard.py.orig Sun May 9 21:00:13 2010
+++ src/tint2conf/tintwizard.py Mon Jun 14 13:55:09 2010
@@ -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 -x tint2') # Check list of active processes for tint2
pids = [] # List of process ids for tint2
for proc in procs.readlines():