[gnome-screensaver] Add an autostart file for gnome-screensaver
- From: Matthias Clasen <matthiasc src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-screensaver] Add an autostart file for gnome-screensaver
- Date: Mon, 15 Jun 2009 13:43:14 -0400 (EDT)
commit 5511059b6dfaa4f65c8f6ea8e46b3d74be932d29
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Jun 15 13:42:25 2009 -0400
Add an autostart file for gnome-screensaver
Since gnome-settings-daemon is not going to do it anymore.
See bug 585485.
configure.ac | 1 +
src/Makefile.am | 11 ++++++++++-
src/gnome-screensaver.desktop.in.in | 14 ++++++++++++++
3 files changed, 25 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0f45afa..2b12c6b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1063,6 +1063,7 @@ AC_OUTPUT([
Makefile
po/Makefile.in
src/Makefile
+src/gnome-screensaver.desktop.in
data/Makefile
data/gnome-screensavers.menu
data/gnome-screensaver.pc
diff --git a/src/Makefile.am b/src/Makefile.am
index ed9d939..aac7b65 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -51,6 +51,11 @@ noinst_PROGRAMS = \
test-window \
$(NULL)
+desktopdir = $(sysconfdir)/xdg/autostart
+desktop_in_files = gnome-screensaver.desktop.in
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+ INTLTOOL_DESKTOP_RULE@
+
gnome_screensaver_command_SOURCES = \
gnome-screensaver-command.c \
$(NULL)
@@ -233,9 +238,13 @@ gnome_screensaver_preferences_LDADD = \
EXTRA_DIST = \
debug-screensaver.sh \
gs-marshal.list \
+ gnome-screensaver.desktop.in \
$(NULL)
-CLEANFILES = $(BUILT_SOURCES)
+CLEANFILES = \
+ $(desktop_DATA) \
+ gnome-screensaver.desktop.in \
+ $(BUILT_SOURCES)
MAINTAINERCLEANFILES = \
*~ \
diff --git a/src/gnome-screensaver.desktop.in.in b/src/gnome-screensaver.desktop.in.in
new file mode 100644
index 0000000..148463c
--- /dev/null
+++ b/src/gnome-screensaver.desktop.in.in
@@ -0,0 +1,14 @@
+
+[Desktop Entry]
+Type=Application
+Encoding=UTF-8
+_Name=Screensaver
+Exec=gnome-screensaver
+OnlyShowIn=GNOME;
+NoDisplay=true
+X-GNOME-Autostart-Phase=Application
+X-GNOME-Autostart-Notify=true
+X-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=gnome-screensaver
+X-GNOME-Bugzilla-Component=general
+X-GNOME-Bugzilla-Version= VERSION@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]