rygel r296 - trunk/src/media-providers/tracker
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r296 - trunk/src/media-providers/tracker
- Date: Tue, 25 Nov 2008 14:43:28 +0000 (UTC)
Author: zeeshanak
Date: Tue Nov 25 14:43:28 2008
New Revision: 296
URL: http://svn.gnome.org/viewvc/rygel?rev=296&view=rev
Log:
Use the new Tracker interface.
Tracker now has separate objects for separate API. Patch from
Florian Steinel <Florian Steinel googlemail com>.
Modified:
trunk/src/media-providers/tracker/rygel-tracker-container.vala
Modified: trunk/src/media-providers/tracker/rygel-tracker-container.vala
==============================================================================
--- trunk/src/media-providers/tracker/rygel-tracker-container.vala (original)
+++ trunk/src/media-providers/tracker/rygel-tracker-container.vala Tue Nov 25 14:43:28 2008
@@ -30,9 +30,11 @@
public class Rygel.TrackerContainer : MediaContainer {
/* class-wide constants */
private const string TRACKER_SERVICE = "org.freedesktop.Tracker";
- private const string TRACKER_PATH = "/org/freedesktop/tracker";
+ private const string TRACKER_PATH = "/org/freedesktop/Tracker";
private const string TRACKER_IFACE = "org.freedesktop.Tracker";
+ private const string FILES_PATH = "/org/freedesktop/Tracker/Files";
private const string FILES_IFACE = "org.freedesktop.Tracker.Files";
+ private const string METADATA_PATH = "/org/freedesktop/Tracker/Metadata";
private const string METADATA_IFACE = "org.freedesktop.Tracker.Metadata";
public static dynamic DBus.Object metadata;
@@ -57,11 +59,11 @@
TrackerContainer.metadata =
connection.get_object (TrackerContainer.TRACKER_SERVICE,
- TrackerContainer.TRACKER_PATH,
+ TrackerContainer.METADATA_PATH,
TrackerContainer.METADATA_IFACE);
TrackerContainer.files =
connection.get_object (TrackerContainer.TRACKER_SERVICE,
- TrackerContainer.TRACKER_PATH,
+ TrackerContainer.FILES_PATH,
TrackerContainer.FILES_IFACE);
TrackerContainer.tracker =
connection.get_object (TrackerContainer.TRACKER_SERVICE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]