[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 2e70bcbc73dfa3c784ca0ff7d3d9b2597f2df8a0
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date: Fri Nov 27 13:37:00 2009 +0100
opimd: Dates: implement UpdatedDate and DeletedDate
diff --git a/framework/subsystems/opimd/pimd_dates.py b/framework/subsystems/opimd/pimd_dates.py
index a4d806a..c8f4ae0 100644
--- a/framework/subsystems/opimd/pimd_dates.py
+++ b/framework/subsystems/opimd/pimd_dates.py
@@ -293,12 +293,17 @@ class DateDomain(Domain, GenericDomain):
return self.get_multiple_fields(num_id, field_list)
+ @dbus_signal(_DIN_DATES, "s")
+ def DeletedDate(self, path):
+ pass
+
@dbus_signal(_DIN_ENTRY, "", rel_path_keyword="rel_path")
def DateDeleted(self, rel_path=None):
pass
def EntryDeleted(self, rel_path=None):
self.DateDeleted(rel_path=rel_path)
+ self.DeletedDate(_DBUS_PATH_CALLS+rel_path)
@dbus_method(_DIN_ENTRY, "", "", rel_path_keyword="rel_path")
def Delete(self, rel_path):
@@ -308,6 +313,11 @@ class DateDomain(Domain, GenericDomain):
def EntryUpdated(self, data, rel_path=None):
self.DateUpdated(data, rel_path=rel_path)
+ self.UpdatedDate(_DBUS_PATH_CALLS+rel_path, data)
+
+ @dbus_signal(_DIN_DATES, "sa{sv}")
+ def UpdatedDate(self, path, data):
+ pass
@dbus_signal(_DIN_ENTRY, "a{sv}", rel_path_keyword="rel_path")
def DateUpdated(self, data, rel_path=None):
--
FSO frameworkd Debian packaging
More information about the pkg-fso-commits
mailing list