From 07ec131ba713ebf5e49a9c57a3d2cda9cd9489ad Mon Sep 17 00:00:00 2001 From: Francesco Marella Date: Sun, 6 Jun 2010 21:00:03 +0200 Subject: Add a feature to toggle autostart at login A launcher is placed in Applications -> Utility. The user toggles autostart through the user interface. The 'xdg' module is required. --- src/gtk-redshift/Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/gtk-redshift/Makefile.am') diff --git a/src/gtk-redshift/Makefile.am b/src/gtk-redshift/Makefile.am index ddeafd6..28d5719 100644 --- a/src/gtk-redshift/Makefile.am +++ b/src/gtk-redshift/Makefile.am @@ -3,6 +3,7 @@ if ENABLE_STATUSICON gui_module=statusicon gtk_redshift_PYTHON = \ __init__.py \ + utils.py \ statusicon.py nodist_gtk_redshift_PYTHON = \ defs.py @@ -15,6 +16,7 @@ if ENABLE_APPINDICATOR gui_module=rsappindicator gtk_redshift_PYTHON = \ __init__.py \ + utils.py \ rsappindicator.py nodist_gtk_redshift_PYTHON = \ defs.py @@ -23,6 +25,12 @@ gtk_redshiftdir = $(pythondir)/gtk_redshift bin_SCRIPTS = gtk-redshift endif +if ENABLE_APPINDICATOR || ENABLE_STATUSICON +# Desktop file +desktopdir = ${datadir}/applications +desktop_DATA = gtk-redshift.desktop +endif + EXTRA_DIST = gtk-redshift.in \ defs.py.in -- cgit v1.2.3-70-g09d2