tracker r2753 - in trunk: . python/nautilus
- From: ifrade svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2753 - in trunk: . python/nautilus
- Date: Fri, 2 Jan 2009 09:16:20 +0000 (UTC)
Author: ifrade
Date: Fri Jan 2 09:16:19 2009
New Revision: 2753
URL: http://svn.gnome.org/viewvc/tracker?rev=2753&view=rev
Log:
Fixed nautilus extension to use the new namespaces. Fixes 566221
Modified:
trunk/ChangeLog
trunk/python/nautilus/tracker-tags-tab.py
Modified: trunk/python/nautilus/tracker-tags-tab.py
==============================================================================
--- trunk/python/nautilus/tracker-tags-tab.py (original)
+++ trunk/python/nautilus/tracker-tags-tab.py Fri Jan 2 09:16:19 2009
@@ -41,9 +41,12 @@
def __init__(self):
bus = dbus.SessionBus()
obj = bus.get_object('org.freedesktop.Tracker',
- '/org/freedesktop/tracker')
+ '/org/freedesktop/Tracker')
self.tracker = dbus.Interface(obj, 'org.freedesktop.Tracker')
- self.keywords = dbus.Interface(obj, 'org.freedesktop.Tracker.Keywords')
+
+ obj_kw = bus.get_object('org.freedesktop.Tracker',
+ '/org/freedesktop/Tracker/Keywords')
+ self.keywords = dbus.Interface(obj_kw, 'org.freedesktop.Tracker.Keywords')
def _on_toggle(self, cell, path, files):
on = not self.store.get_value(self.store.get_iter(path), 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]