openbsd-ports/x11/tint/patches/patch-src_tint2conf_tintwizard_py
edd 83e5bb2ce0 Update tint2 to 0.11beta. I worked with upstream to fix a whole bunch of bugs
exposed on BSD systems in 0.10. Many thanks to the tint2 team.

OK dcoppa@
2010-06-15 10:10:06 +00:00

13 lines
647 B
Plaintext

$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():