diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2014-01-06 11:39:33 -0800 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2014-01-06 11:39:33 -0800 |
commit | 2c5b79fe24c52eba210f6bfce79ccf565839bef1 (patch) | |
tree | 91c2ff70da10a699dacb0cf0f2a831fa298c4ea4 /src/redshift-gtk/redshift-gtk.in | |
parent | Merge pull request #19 from TingPing/patch-1 (diff) | |
parent | Fix PyGI deprecated warnings (diff) | |
download | redshift-ng-2c5b79fe24c52eba210f6bfce79ccf565839bef1.tar.gz redshift-ng-2c5b79fe24c52eba210f6bfce79ccf565839bef1.tar.bz2 redshift-ng-2c5b79fe24c52eba210f6bfce79ccf565839bef1.tar.xz |
Merge pull request #21 from TingPing/py3k
Add Python 3 support
Update icon cache on install
Add more files to .gitignore
Fix PyGI deprecation warning
Diffstat (limited to 'src/redshift-gtk/redshift-gtk.in')
-rw-r--r-- | src/redshift-gtk/redshift-gtk.in | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/redshift-gtk/redshift-gtk.in b/src/redshift-gtk/redshift-gtk.in new file mode 100644 index 0000000..ba6e1ac --- /dev/null +++ b/src/redshift-gtk/redshift-gtk.in @@ -0,0 +1,27 @@ +#!/usr/bin/env python3 +# redshift-gtk -- GTK+ Redshift launcher script +# This file is part of Redshift. + +# Redshift is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. + +# Redshift is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with Redshift. If not, see <http://www.gnu.org/licenses/>. + +# Copyright (c) 2010 Jon Lund Steffensen <jonlst@gmail.com> + +import sys + +# Some non-standard install paths may need to be added +sys.path.append('@pythondir@') + +if __name__ == '__main__': + from redshift_gtk.statusicon import run + run() |