[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:43 UTC 2011
The following commit has been merged in the debian branch:
commit 9e8410dd71dba955cc60b707b59a1bbe58c4d2c0
Author: Sebastian Krzyszkowiak <seba.dos1 at gmail.com>
Date: Fri Nov 27 13:50:28 2009 +0100
opimd: Tasks: implement DeletedTask and UpgradedTask signals
diff --git a/framework/subsystems/opimd/pimd_tasks.py b/framework/subsystems/opimd/pimd_tasks.py
index 3e609b2..80628a1 100644
--- a/framework/subsystems/opimd/pimd_tasks.py
+++ b/framework/subsystems/opimd/pimd_tasks.py
@@ -314,6 +314,11 @@ class TaskDomain(Domain, GenericDomain):
def EntryDeleted(self, rel_path=None):
self.TaskDeleted(rel_path=rel_path)
+ self.DeletedTask(_DBUS_PATH_TASKS+rel_path)
+
+ @dbus_signal(_DIN_TASKS, "s")
+ def DeletedTask(self, path):
+ pass
@dbus_method(_DIN_ENTRY, "", "", rel_path_keyword="rel_path")
def Delete(self, rel_path):
@@ -331,6 +336,11 @@ class TaskDomain(Domain, GenericDomain):
def EntryUpdated(self, data, rel_path=None):
self.TaskUpdated(data, rel_path=rel_path)
+ self.UpdatedTask(_DBUS_PATH_TASKS+rel_path, data)
+
+ @dbus_signal(_DIN_TASKS, "sa{sv}")
+ def UpdatedTask(self, path, data):
+ pass
@dbus_signal(_DIN_ENTRY, "a{sv}", rel_path_keyword="rel_path")
def TaskUpdated(self, data, rel_path=None):
--
FSO frameworkd Debian packaging
More information about the pkg-fso-commits
mailing list