[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:42 UTC 2011
The following commit has been merged in the debian branch:
commit 81b3d2c3398603f29cda94cb83b4ad395cfe97b9
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date: Fri Nov 27 13:44:03 2009 +0100
opimd: Notes: implement DeletedNote and UpdatedNote signals
diff --git a/framework/subsystems/opimd/pimd_notes.py b/framework/subsystems/opimd/pimd_notes.py
index 90389b3..7a1d377 100644
--- a/framework/subsystems/opimd/pimd_notes.py
+++ b/framework/subsystems/opimd/pimd_notes.py
@@ -327,6 +327,11 @@ class NoteDomain(Domain, GenericDomain):
def EntryDeleted(self, rel_path=None):
self.NoteDeleted(rel_path=rel_path)
+ self.UpdatedNote(_DBUS_PATH_NOTES+rel_path, data)
+
+ @dbus_signal(_DIN_NOTES, "s")
+ def UpdatedNote(self, path):
+ pass
@dbus_method(_DIN_ENTRY, "", "", rel_path_keyword="rel_path")
def Delete(self, rel_path):
@@ -351,6 +356,11 @@ class NoteDomain(Domain, GenericDomain):
def EntryUpdated(self, data, rel_path=None):
self.NoteUpdated(data, rel_path=rel_path)
+ self.UpdatedNote(_DBUS_PATH_NOTES+rel_path, data)
+
+ @dbus_signal(_DIN_NOTES, "sa{sv}")
+ def UpdatedNote(self, path, data):
+ pass
@dbus_signal(_DIN_ENTRY, "a{sv}", rel_path_keyword="rel_path")
def NoteUpdated(self, data, rel_path=None):
--
FSO frameworkd Debian packaging
More information about the pkg-fso-commits
mailing list