Start presentation apps in right place.

bzr-revno: 766
This commit is contained in:
Raoul Snyman 2010-03-25 19:41:57 +02:00
commit 6b07f952b9
1 changed files with 2 additions and 2 deletions

View File

@ -57,6 +57,8 @@ class PresentationPlugin(Plugin):
for controller in self.controllers:
if self.controllers[controller].enabled:
presentation_types.append({u'%s' % controller : self.controllers[controller].supports})
self.controllers[controller].start_process()
Receiver.send_message(
u'presentation types', presentation_types)
@ -104,8 +106,6 @@ class PresentationPlugin(Plugin):
for controller_class in controller_classes:
controller = controller_class(self)
self.registerControllers(controller)
if controller.enabled:
controller.start_process()
if self.controllers:
return True
else: