[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, debian, updated. upstream/0.9.5.5-717-g0f98819
Sebastian Krzyszkowiak
seba.dos1 at gmail.com
Sat Aug 6 08:18:40 UTC 2011
The following commit has been merged in the debian branch:
commit 9806711154eece7b83c020ad5a4151c937633fe8
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date: Fri Nov 27 13:24:39 2009 +0100
opimd: Contacts: implement DeletedContact and UpdatedContact signals
diff --git a/framework/subsystems/opimd/pimd_contacts.py b/framework/subsystems/opimd/pimd_contacts.py
index 2e0d37d..e9af809 100644
--- a/framework/subsystems/opimd/pimd_contacts.py
+++ b/framework/subsystems/opimd/pimd_contacts.py
@@ -289,12 +289,17 @@ class ContactDomain(Domain, GenericDomain):
return self.get_multiple_fields(num_id, field_list)
+ @dbus_signal(_DIN_ENTRY, "s")
+ def DeletedContact(self, path):
+ pass
+
@dbus_signal(_DIN_ENTRY, "", rel_path_keyword="rel_path")
def ContactDeleted(self, rel_path=None):
pass
def EntryDeleted(self, rel_path=None):
self.ContactDeleted(rel_path=rel_path)
+ self.DeletedContact(_DBUS_PATH_CONTACTS+rel_path)
@dbus_method(_DIN_ENTRY, "", "", rel_path_keyword="rel_path")
def Delete(self, rel_path):
@@ -304,6 +309,11 @@ class ContactDomain(Domain, GenericDomain):
def EntryUpdated(self, data, rel_path=None):
self.ContactUpdated(data, rel_path=rel_path)
+ self.UpdatedContact(_DBUS_PATH_CONTACTS+rel_path, data)
+
+ @dbus_signal(_DIN_ENTRY, "sa{sv}")
+ def UpdatedContact(self, path, data):
+ pass
@dbus_signal(_DIN_ENTRY, "a{sv}", rel_path_keyword="rel_path")
def ContactUpdated(self, data, rel_path=None):
--
FSO frameworkd Debian packaging
More information about the pkg-fso-commits
mailing list