Start presentation apps in right place

This commit is contained in:
Jonathan Corwin 2010-03-24 22:59:05 +00:00
parent 95afcfec79
commit b490e74012

View File

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