[gnome-initial-setup] Install desktop files in the right place



commit 2bb1d0c6c6e9256089d743bb250693f3beb3743c
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Sep 28 23:59:53 2012 -0400

    Install desktop files in the right place
    
    gdm looks for desktop files in /usr/share/gdm/greeter/applications,
    so install gnome-initial-setup.desktop there. Also, add the
    setup-shell.desktop file that gnome-initial-setup.session
    refers to.

 data/Makefile.am         |    4 +++-
 data/setup-shell.desktop |    5 +++++
 2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 99e8861..a3a49d7 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -27,15 +27,17 @@ session_DATA =						\
 	gnome-initial-setup.session			\
 	$(NULL)
 
-desktopdir = $(pkgdatadir)/applications
+desktopdir = $(datadir)/gdm/greeter/applications
 desktop_DATA =						\
 	gnome-initial-setup.desktop			\
+	setup-shell.desktop				\
 	$(NULL)
 
 EXTRA_DIST =						\
 	20-gnome-initial-setup.rules			\
 	org.gnome.initial-setup.policy			\
 	welcome-tour.desktop				\
+	setup-shell.desktop
 	gnome-initial-setup.desktop.in.in		\
 	gnome-initial-setup-copy-worker.desktop.in.in	\
 	gnome-initial-setup.session			\
diff --git a/data/setup-shell.desktop b/data/setup-shell.desktop
new file mode 100644
index 0000000..7770652
--- /dev/null
+++ b/data/setup-shell.desktop
@@ -0,0 +1,5 @@
+[Desktop Entry]
+Type=Application
+Name=GNOME Shell
+Exec=gnome-shell --mode=initial-setup
+X-GNOME-AutoRestart=true



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]