83e5bb2ce0
exposed on BSD systems in 0.10. Many thanks to the tint2 team. OK dcoppa@
13 lines
647 B
Plaintext
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():
|