[gnome-bluetooth] Add D-Bus service file for Moblin bluetooth-panel
- From: Bastien Nocera <hadess src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth] Add D-Bus service file for Moblin bluetooth-panel
- Date: Wed, 21 Oct 2009 13:26:04 +0000 (UTC)
commit e2190075f870347c61b096a4b2f391696c575499
Author: Joshua Lock <josh linux intel com>
Date: Tue Oct 20 13:00:44 2009 +0100
Add D-Bus service file for Moblin bluetooth-panel
This enables the Moblin toolbar (mutter-moblin) to restart the panel.
https://bugzilla.gnome.org/show_bug.cgi?id=599072
moblin/Makefile.am | 11 ++++++++++-
...org.moblin.UX.Shell.Panels.bluetooth.service.in | 3 +++
2 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/moblin/Makefile.am b/moblin/Makefile.am
index 5d7f872..9f2ac23 100644
--- a/moblin/Makefile.am
+++ b/moblin/Makefile.am
@@ -22,10 +22,19 @@ autostart_DATA = $(autostart_in_files:.desktop.in=.desktop)
ui_DATA = pin.ui
uidir = $(pkgdatadir)
+servicedir = $(datadir)/dbus-1/services
+service_in_files = org.moblin.UX.Shell.Panels.bluetooth.service.in
+service_DATA = org.moblin.UX.Shell.Panels.bluetooth.service
+
@INTLTOOL_DESKTOP_RULE@
CLEANFILES = $(autostart_DATA)
-EXTRA_DIST = $(autostart_in_in_files) $(ui_DATA)
+EXTRA_DIST = $(autostart_in_in_files) $(ui_DATA) $(service_DATA)
MAINTAINERCLEANFILES = Makefile.in
+
+DISTCLEANFILES = $(service_DATA)
+
+%.service: %.service.in
+ $(QUIET_GEN)sed -e "s|\ bindir\@|$(bindir)|" $< > $@
diff --git a/moblin/org.moblin.UX.Shell.Panels.bluetooth.service.in b/moblin/org.moblin.UX.Shell.Panels.bluetooth.service.in
new file mode 100644
index 0000000..5d81d32
--- /dev/null
+++ b/moblin/org.moblin.UX.Shell.Panels.bluetooth.service.in
@@ -0,0 +1,3 @@
+[D-Bus Service]
+Name=org.moblin.UX.Shell.Panels.bluetooth
+Exec= bindir@/bluetooth-panel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]