Author: andar

Revision: 5085

Log:
        Add a defer property to use to check when the CoreConfig is ready

Diff:
Modified: trunk/deluge/ui/coreconfig.py
===================================================================
--- trunk/deluge/ui/coreconfig.py       2009-04-18 18:19:47 UTC (rev 5084)
+++ trunk/deluge/ui/coreconfig.py       2009-04-18 18:27:35 UTC (rev 5085)
@@ -35,7 +35,7 @@
         client.register_event_handler("ConfigValueChangedEvent", 
self.on_configvaluechanged_event)
 
     def start(self):
-        client.core.get_config().addCallback(self._on_get_config)
+        self.start_defer = 
client.core.get_config().addCallback(self._on_get_config)
 
     def stop(self):
         self.config = {}



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to