blob: 1d2053a9c4b7d00542311914574d665cba171e63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
--- a/phctray.sh 2007-09-08 08:29:31.000000000 +0200
+++ b/phctray.sh 2009-09-05 23:16:54.000000000 +0200
@@ -2,6 +2,5 @@
#this shellscript is just a wrapper to phctray.py
#but necessary to run phctray from another directory
-PROGPATH=`dirname "$0"`
-cd $PROGPATH
+cd /usr/share/phctool
./phctray.py
--- a/phctray.py 2009-09-08 12:17:11.000000000 +0200
+++ b/phctray.py 2009-09-08 12:17:33.000000000 +0200
@@ -61,7 +61,7 @@
t.show_all()
##call phctool without GUI to set stored values
-cmd=[sys.path[0]+"/phctool.sh","background"] ##command
+cmd=["/usr/bin/phctool","background"] ##command
subprocess.Popen(cmd, shell=False) ##call the affinated programm
gtk.main()
--- a/phctray.py 2009-09-08 12:22:28.000000000 +0200
+++ b/phctray.py 2009-09-08 12:23:44.000000000 +0200
@@ -11,7 +11,7 @@
return;
def run_phctool( *args ):
- cmd=[sys.path[0]+"/phctool.sh"] ##command
+ cmd=["/usr/bin/phctool"] ##command
subprocess.Popen(cmd, shell=False) ##call the affinated programm
def applet_face_click( window, event, *data ):
|