From e8b121c0dcea55897ea5991a6468f092d59c3a07 Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Thu, 11 Feb 2010 22:14:33 +0100 Subject: gtk-redshift: Use absolute path when launching redshift process. --- src/gtk-redshift/defs.py.in | 1 + src/gtk-redshift/statusicon.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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: -- cgit v1.2.3-70-g09d2