Move gtk-redshift.desktop file to data dir.

This commit is contained in:
Jon Lund Steffensen
2010-06-30 20:10:12 +02:00
parent 0d533f457c
commit 7db6532b9d
4 changed files with 11 additions and 9 deletions
+10 -1
View File
@@ -15,10 +15,19 @@ ubuntu_mono_light_icondir = @datadir@/icons/ubuntu-mono-light/scalable/apps
ubuntu_mono_light_icon_DATA = data/icons/ubuntu-mono-light/scalable/apps/redshift.svg \
data/icons/ubuntu-mono-light/scalable/apps/redshift-idle.svg
# Desktop file
if ENABLE_GUI
desktopdir = @datadir@/applications
desktop_DATA = data/applications/gtk-redshift.desktop
endif
EXTRA_DIST = \
$(hicolor_icon_DATA) \
$(ubuntu_mono_dark_icon_DATA) \
$(ubuntu_mono_light_icon_DATA)
$(ubuntu_mono_light_icon_DATA) \
$(desktop_DATA)
# Update PO translations
+1
View File
@@ -171,6 +171,7 @@ AS_IF([test "x$enable_gui" != xappindicator -a "x$enable_gui" != xstatusicon], [
AC_MSG_RESULT([$enable_gui])
AM_CONDITIONAL([ENABLE_GUI], [test "x$enable_gui" != xnone])
AM_CONDITIONAL([ENABLE_STATUSICON], [test "x$enable_gui" = xstatusicon])
AM_CONDITIONAL([ENABLE_APPINDICATOR], [test "x$enable_gui" = xappindicator])
-8
View File
@@ -10,10 +10,6 @@ nodist_gtk_redshift_PYTHON = \
gtk_redshiftdir = $(pythondir)/gtk_redshift
bin_SCRIPTS = gtk-redshift
# Desktop file
desktopdir = ${datadir}/applications
desktop_DATA = gtk-redshift.desktop
endif
if ENABLE_APPINDICATOR
@@ -27,10 +23,6 @@ nodist_gtk_redshift_PYTHON = \
gtk_redshiftdir = $(pythondir)/gtk_redshift
bin_SCRIPTS = gtk-redshift
# Desktop file
desktopdir = ${datadir}/applications
desktop_DATA = gtk-redshift.desktop
endif
EXTRA_DIST = gtk-redshift.in \