[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, master, updated. milestone4-368-g700ab82
Julien 'Ainulindale' Cassignol
ainulindale at gmail.com
Mon Feb 2 18:51:18 UTC 2009
The following commit has been merged in the master branch:
commit 776637db6312a1241d2bb0edcdecd5a9859ec85d
Author: Julien 'Ainulindale' Cassignol <ainulindale at gmail.com>
Date: Tue Nov 18 18:33:53 2008 +0100
Timeout settings are now persistent.
diff --git a/framework/subsystems/odeviced/idlenotifier.py b/framework/subsystems/odeviced/idlenotifier.py
index 94be948..1dbec1c 100644
--- a/framework/subsystems/odeviced/idlenotifier.py
+++ b/framework/subsystems/odeviced/idlenotifier.py
@@ -141,6 +141,8 @@ class IdleNotifier( dbus.service.Object ):
raise InvalidState( "valid states are: %s" % self.validStates )
elif timeout is not None:
self.timeouts[state] = timeout
+ config.setValue(MODULE_NAME, state, timeout)
+ config.sync()
@dbus.service.method( DBUS_INTERFACE, "s", "" )
def SetState( self, state ):
--
FSO frameworkd Debian packaging
More information about the pkg-fso-commits
mailing list