[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:41 UTC 2011
The following commit has been merged in the debian branch:
commit c2e27dc638cfbde445d445836b1f65da0e3ca225
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date: Fri Nov 27 13:29:41 2009 +0100
opimd: Messages: implement DeletedMessage and UpdatedMessage signals
diff --git a/framework/subsystems/opimd/pimd_messages.py b/framework/subsystems/opimd/pimd_messages.py
index 30cf4a8..4d10f69 100644
--- a/framework/subsystems/opimd/pimd_messages.py
+++ b/framework/subsystems/opimd/pimd_messages.py
@@ -505,6 +505,11 @@ class MessageDomain(Domain, GenericDomain):
def EntryUpdated(self, data, rel_path=None):
self.MessageUpdated(data, rel_path=rel_path)
+ self.UpdatedMessage(_DBUS_PATH_MESSAGES+rel_path, data)
+
+ @dbus_signal(_DIN_MESSAGES, "sa{sv}")
+ def UpdatedMessage(self, path, data):
+ pass
@dbus_signal(_DIN_ENTRY, "a{sv}", rel_path_keyword="rel_path")
def MessageUpdated(self, data, rel_path=None):
@@ -530,8 +535,13 @@ class MessageDomain(Domain, GenericDomain):
self.update(num_id, data, entryif = messageif, entry = message)
+ @dbus_signal(_DIN_MESSAGES, "s")
+ def DeletedMessage(self, path):
+ pass
+
def EntryDeleted(self, rel_path=None):
self.MessageDeleted(rel_path=rel_path)
+ self.DeletedMessage(_DBUS_PATH_MESSAGES+rel_path)
@dbus_signal(_DIN_ENTRY, "", rel_path_keyword="rel_path")
def MessageDeleted(self, rel_path=None):
--
FSO frameworkd Debian packaging
More information about the pkg-fso-commits
mailing list