phctool-0.5.2.2_all_paths_tray.patch 1.0 KB

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