[nautilus-actions] Fix tracker object introspection



commit 6d615801158b0740115ad5a6128e967be8ac2264
Author: Pierre Wieser <pwieser trychlos org>
Date:   Fri Dec 18 20:24:32 2009 +0100

    Fix tracker object introspection

 ChangeLog                                        |    4 ++++
 TODO                                             |    2 --
 nautilus-actions/test/dbus-introspect-tracker.sh |    9 +++++++++
 nautilus-actions/test/dbus-introspect.sh         |    9 +++++++++
 4 files changed, 22 insertions(+), 2 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 924b1d0..285c9a1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-12-17 Pierre Wieser <pwieser trychlos org>
+
+	* nautilus-actions/test/dbus-introspect.sh: New file.
+
 2009-12-16 Pierre Wieser <pwieser trychlos org>
 
 	* configure.ac: Bump version number.
diff --git a/TODO b/TODO
index 616ad66..a4c9eff 100644
--- a/TODO
+++ b/TODO
@@ -99,5 +99,3 @@
 - DBus service: list current I/O providers
 
 - DBus service: import/export an action or a menu
-
-- tracker: have auto-introspection
diff --git a/nautilus-actions/test/dbus-introspect-tracker.sh b/nautilus-actions/test/dbus-introspect-tracker.sh
new file mode 100755
index 0000000..2395f48
--- /dev/null
+++ b/nautilus-actions/test/dbus-introspect-tracker.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+NA_SERVICE=org.nautilus-actions.DBus
+NA_PATH_TRACKER=/org/nautilus_actions/DBus/Tracker
+
+echo ""
+echo "D-Bus service      =  '${NA_SERVICE}'"
+echo "D-Bus tracker path = '${NA_PATH_TRACKER}'"
+dbus-send --session --type=method_call --print-reply --dest=${NA_SERVICE} ${NA_PATH_TRACKER} org.freedesktop.DBus.Introspectable.Introspect
diff --git a/nautilus-actions/test/dbus-introspect.sh b/nautilus-actions/test/dbus-introspect.sh
new file mode 100755
index 0000000..2395f48
--- /dev/null
+++ b/nautilus-actions/test/dbus-introspect.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+NA_SERVICE=org.nautilus-actions.DBus
+NA_PATH_TRACKER=/org/nautilus_actions/DBus/Tracker
+
+echo ""
+echo "D-Bus service      =  '${NA_SERVICE}'"
+echo "D-Bus tracker path = '${NA_PATH_TRACKER}'"
+dbus-send --session --type=method_call --print-reply --dest=${NA_SERVICE} ${NA_PATH_TRACKER} org.freedesktop.DBus.Introspectable.Introspect



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