[nautilus: 23/24] Add an org.freedesktop.FileManager1.service file for DBus
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus: 23/24] Add an org.freedesktop.FileManager1.service file for DBus
- Date: Wed, 14 Dec 2011 18:48:10 +0000 (UTC)
commit f01e2e9b5fa6dcd0514bdf5efe5f76b4312f1fd3
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Dec 14 12:12:04 2011 -0600
Add an org.freedesktop.FileManager1.service file for DBus
Even though this registers a service for a freedesktop name with a Gnome-specific
program (Nautilus), we'll just do this for now.
Later we can discuss in the DBus list how to launch services with generic
interfaces, but specific implementations for each desktop environment.
Signed-off-by: Federico Mena Quintero <federico gnome org>
data/Makefile.am | 7 ++++++-
data/org.freedesktop.FileManager1.service.in | 3 +++
2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 882dada..b464158 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -20,12 +20,17 @@ mimedir = $(datadir)/mime/packages
mime_DATA = $(xml_files)
servicedir = $(datadir)/dbus-1/services
-service_in_files = org.gnome.Nautilus.service.in
service_DATA = $(service_in_files:.service.in=.service)
+service_in_files = \
+ org.freedesktop.FileManager1.service.in \
+ org.gnome.Nautilus.service.in
org.gnome.Nautilus.service: org.gnome.Nautilus.service.in Makefile
$(AM_V_GEN) sed -e "s|\ bindir\@|$(bindir)|" $< > $@
+org.freedesktop.FileManager1.service: org.freedesktop.FileManager1.service.in Makefile
+ $(AM_V_GEN) sed -e "s|\ bindir\@|$(bindir)|" $< > $@
+
nautilusdatadir = $(datadir)/nautilus
nautilusdata_DATA = \
diff --git a/data/org.freedesktop.FileManager1.service.in b/data/org.freedesktop.FileManager1.service.in
new file mode 100644
index 0000000..967c33c
--- /dev/null
+++ b/data/org.freedesktop.FileManager1.service.in
@@ -0,0 +1,3 @@
+[D-BUS Service]
+Name=org.freedesktop.FileManager1
+Exec= bindir@/nautilus --no-default-window
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]