summaryrefslogtreecommitdiff
path: root/src/server/protocol.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/protocol.py')
-rw-r--r--src/server/protocol.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/server/protocol.py b/src/server/protocol.py
index 6235434..809f4b2 100644
--- a/src/server/protocol.py
+++ b/src/server/protocol.py
@@ -67,6 +67,16 @@ class Protocol(_Protocol, DBusProperties):
'Parameters': lambda: self.parameters
})
+ self._add_immutable_properties({
+ 'EnglishName': PROTOCOL,
+ 'Icon': PROTOCOL,
+ 'VCardField': PROTOCOL,
+ 'Interfaces': PROTOCOL,
+ 'ConnectionInterfaces': PROTOCOL,
+ 'RequestableChannelClasses': PROTOCOL,
+ 'Parameters': PROTOCOL
+ })
+
@property
def english_name(self):
return dbus.String(self._english_name)
@@ -175,6 +185,8 @@ class ProtocolInterfacePresence(_ProtocolInterfacePresence):
_ProtocolInterfacePresence.__init__(self)
self._implement_property_get(PROTOCOL_INTERFACE_PRESENCE, {
'Statuses': lambda: self.statuses})
+ self._add_immutable_properties({
+ 'Statuses': PROTOCOL_INTERFACE_PRESENCE})
@property
def statuses(self):