[Telepathy-commits] [telepathy-python/master] add PROPERTIES_IFACE to InterfaceFactory._valid_interfaces

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Mon Oct 20 07:36:59 PDT 2008


---
 src/client/interfacefactory.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/client/interfacefactory.py b/src/client/interfacefactory.py
index 5cb90b8..c73d79a 100644
--- a/src/client/interfacefactory.py
+++ b/src/client/interfacefactory.py
@@ -20,6 +20,7 @@
 import dbus
 import logging
 
+from dbus import PROPERTIES_IFACE
 
 logger = logging.getLogger('telepathy.client.interfacefactory')
 
@@ -57,6 +58,8 @@ class InterfaceFactory(object):
 
         self._interfaces = {}
         self._valid_interfaces = set()
+        # add the D-Bus properties interface
+        self._valid_interfaces.add(PROPERTIES_IFACE)
         self._default_interface = default_interface
 
         if default_interface:
-- 
1.5.6.5



More information about the Telepathy-commits mailing list