aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtk-redshift/gtk-redshift.in
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2010-06-06 23:34:49 +0200
committerJon Lund Steffensen <jonlst@gmail.com>2010-06-06 23:34:49 +0200
commit79d6d29889102a7935268dadf0b5fd2965151141 (patch)
tree2c0c2b64b38b3fc715167f283ca57fa38285e667 /src/gtk-redshift/gtk-redshift.in
parentUpdate po files. (diff)
parentrvert commit 103: Wrap in try...except only gtk.main. (diff)
downloadredshift-ng-79d6d29889102a7935268dadf0b5fd2965151141.tar.gz
redshift-ng-79d6d29889102a7935268dadf0b5fd2965151141.tar.bz2
redshift-ng-79d6d29889102a7935268dadf0b5fd2965151141.tar.xz
Merge application indicator support from Franesco Marella.
Change GUI configuration parameter in configure.ac to --enable-gui. Distribute defs.py.in and gtk-redshift.in even if GUI is disabled. Update POTFILES.in and update translation files.
Diffstat (limited to 'src/gtk-redshift/gtk-redshift.in')
-rw-r--r--src/gtk-redshift/gtk-redshift.in23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/gtk-redshift/gtk-redshift.in b/src/gtk-redshift/gtk-redshift.in
new file mode 100644
index 0000000..120e05c
--- /dev/null
+++ b/src/gtk-redshift/gtk-redshift.in
@@ -0,0 +1,23 @@
+#!/usr/bin/env python
+# gtk-redshift -- 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>
+
+
+if __name__ == '__main__':
+ from gtk_redshift.@gui_module@ import run
+ run()