[tracker/libtracker-miner] TrackerMinerDiscover: Fix DBus names so the miner discoverer works again.



commit b420e13edfecac0308b10d4559a827906384709d
Author: Carlos Garnacho <carlos lanedo com>
Date:   Fri Sep 4 12:40:45 2009 +0200

    TrackerMinerDiscover: Fix DBus names so the miner discoverer works again.

 data/dbus/Makefile.am                              |    4 ++--
 ...desktop.Tracker1.Miner.Applications.service.in} |    2 +-
 ...rg.freedesktop.Tracker1.Miner.Files.service.in} |    0
 src/libtracker-miner/tracker-miner-discover.c      |    4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/data/dbus/Makefile.am b/data/dbus/Makefile.am
index 6a2cfff..3875607 100644
--- a/data/dbus/Makefile.am
+++ b/data/dbus/Makefile.am
@@ -14,8 +14,8 @@ config_DATA =							\
 servicedir = $(DBUS_SERVICES_DIR)
 service_in_files =						\
 	org.freedesktop.Tracker.service.in			\
-	org.freedesktop.Tracker.Miner.Applications.service.in	\
-	org.freedesktop.Tracker.Miner.Files.service.in		\
+	org.freedesktop.Tracker1.Miner.Applications.service.in	\
+	org.freedesktop.Tracker1.Miner.Files.service.in		\
 	org.freedesktop.Tracker.Extract.service.in
 service_DATA = $(service_in_files:.service.in=.service)
 
diff --git a/data/dbus/org.freedesktop.Tracker.Miner.Applications.service.in b/data/dbus/org.freedesktop.Tracker1.Miner.Applications.service.in
similarity index 51%
rename from data/dbus/org.freedesktop.Tracker.Miner.Applications.service.in
rename to data/dbus/org.freedesktop.Tracker1.Miner.Applications.service.in
index 14bbb50..5403cde 100644
--- a/data/dbus/org.freedesktop.Tracker.Miner.Applications.service.in
+++ b/data/dbus/org.freedesktop.Tracker1.Miner.Applications.service.in
@@ -1,3 +1,3 @@
 [D-BUS Service]
-Name=org.freedesktop.Tracker.Miner.Applications
+Name=org.freedesktop.Tracker1.Miner.Applications
 Exec= libexecdir@/tracker-miner-fs
diff --git a/data/dbus/org.freedesktop.Tracker.Miner.Files.service.in b/data/dbus/org.freedesktop.Tracker1.Miner.Files.service.in
similarity index 100%
rename from data/dbus/org.freedesktop.Tracker.Miner.Files.service.in
rename to data/dbus/org.freedesktop.Tracker1.Miner.Files.service.in
diff --git a/src/libtracker-miner/tracker-miner-discover.c b/src/libtracker-miner/tracker-miner-discover.c
index 624c2d0..a9b0c79 100644
--- a/src/libtracker-miner/tracker-miner-discover.c
+++ b/src/libtracker-miner/tracker-miner-discover.c
@@ -132,11 +132,11 @@ tracker_miner_discover_init (TrackerMinerDiscover *discover)
 		gchar *name, *path;
 
 		name = strrchr (m->data, '.');
-		path = g_strdup_printf ("/org/freedesktop/Tracker/Miner/%s", ++name);
+		path = g_strdup_printf (TRACKER_MINER_DBUS_PATH_PREFIX "%s", ++name);
 
 		proxy = dbus_g_proxy_new_for_name (priv->connection,
 						   m->data, path,
-						   "org.freedesktop.Tracker.Miner");
+						   TRACKER_MINER_DBUS_INTERFACE);
 
 		dbus_g_proxy_add_signal (proxy,
 					 "Progress",



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