diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2010-02-11 22:14:33 +0100 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2010-02-11 22:14:33 +0100 |
commit | e8b121c0dcea55897ea5991a6468f092d59c3a07 (patch) | |
tree | b76559b98619bdf1aea47c9915fbca69c346366b /src | |
parent | Turn gtk-redshift into a python module. A launcher script is installed (diff) | |
download | redshift-ng-e8b121c0dcea55897ea5991a6468f092d59c3a07.tar.gz redshift-ng-e8b121c0dcea55897ea5991a6468f092d59c3a07.tar.bz2 redshift-ng-e8b121c0dcea55897ea5991a6468f092d59c3a07.tar.xz |
gtk-redshift: Use absolute path when launching redshift process.
Diffstat (limited to 'src')
-rw-r--r-- | src/gtk-redshift/defs.py.in | 1 | ||||
-rw-r--r-- | src/gtk-redshift/statusicon.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/gtk-redshift/defs.py.in b/src/gtk-redshift/defs.py.in index 91eccf9..d3ca5ed 100644 --- a/src/gtk-redshift/defs.py.in +++ b/src/gtk-redshift/defs.py.in @@ -19,3 +19,4 @@ LOCALEDIR = '@localedir@' +BINDIR = '@bindir@' diff --git a/src/gtk-redshift/statusicon.py b/src/gtk-redshift/statusicon.py index ae05b5c..9925c35 100644 --- a/src/gtk-redshift/statusicon.py +++ b/src/gtk-redshift/statusicon.py @@ -38,7 +38,7 @@ def run_statusicon(): # Start redshift with arguments from the command line args = sys.argv[1:] - args.insert(0, 'redshift') + args.insert(0, os.path.join(defs.BINDIR, 'redshift')) process = subprocess.Popen(args) try: |