summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2013-02-06 13:37:38 -0500
committerCosimo Cecchi <cosimoc@gnome.org>2013-02-06 13:37:38 -0500
commitb3434e8bec9231b21f34fbe4bfc5e05b8d2e592b (patch)
treebc83f024f542389d01a47dbbcae0d6376d1fceb7
parent7a21b958ec5d6241c9453f553cd5ba8578783d10 (diff)
downloadnautilus-b3434e8bec9231b21f34fbe4bfc5e05b8d2e592b.tar.gz
data: add nautilus-classic.desktop
This is needed to have nautilus autostarted with desktop icons in the classic session.
-rw-r--r--configure.ac1
-rw-r--r--data/Makefile.am4
-rw-r--r--data/nautilus-classic.desktop.in15
3 files changed, 19 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 3c118f378..f4cb0ee9d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -304,6 +304,7 @@ Makefile
data/Makefile
data/nautilus.desktop.in
data/nautilus-autorun-software.desktop.in
+data/nautilus-classic.desktop
data/nautilus-connect-server.desktop.in
docs/Makefile
docs/reference/Makefile
diff --git a/data/Makefile.am b/data/Makefile.am
index a0127e96e..e2df2c1aa 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -5,7 +5,9 @@ xml_files = $(xml_in_files:.xml.in=.xml)
@INTLTOOL_XML_RULE@
desktopdir = $(datadir)/applications
-desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+desktop_DATA = \
+ $(desktop_in_files:.desktop.in=.desktop) \
+ nautilus-classic.desktop
desktop_in_files = \
nautilus.desktop.in \
nautilus-autorun-software.desktop.in \
diff --git a/data/nautilus-classic.desktop.in b/data/nautilus-classic.desktop.in
new file mode 100644
index 000000000..6ca3c7440
--- /dev/null
+++ b/data/nautilus-classic.desktop.in
@@ -0,0 +1,15 @@
+[Desktop Entry]
+Type=Application
+Name=Desktop Icons
+Comment=Classic session desktop file for desktop icons
+Exec=nautilus --no-default-window --force-desktop
+OnlyShowIn=GNOME;
+NoDisplay=true
+X-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=nautilus
+X-GNOME-Bugzilla-Component=general
+X-GNOME-Bugzilla-Version=@VERSION@
+X-GNOME-Autostart-Phase=Desktop
+X-GNOME-Autostart-Notify=true
+X-GNOME-AutoRestart=true
+X-GNOME-Provides=filemanager