Fix a couple of issues with last commit

This commit is contained in:
Jonathan Corwin 2009-11-06 19:23:58 +00:00
parent e931fa023a
commit 65736ef8d1
2 changed files with 2 additions and 4 deletions

View File

@ -142,7 +142,7 @@ class MessageListener(object):
""" """
Based on the handler passed at startup triggers slide show to shut down Based on the handler passed at startup triggers slide show to shut down
""" """
if not self.is_live: if self.is_live:
Receiver().send_message(u'live_slide_show') Receiver().send_message(u'live_slide_show')
self.controller.close_presentation() self.controller.close_presentation()
self.controller.slidenumber = 0 self.controller.slidenumber = 0

View File

@ -178,7 +178,7 @@ class PresentationController(object):
log.debug(u'Kill') log.debug(u'Kill')
self.close_presentation() self.close_presentation()
def load_presentation(self, presentation, is_live): def load_presentation(self, presentation):
""" """
Called when a presentation is added to the SlideController. Called when a presentation is added to the SlideController.
Loads the presentation and starts it Loads the presentation and starts it
@ -186,8 +186,6 @@ class PresentationController(object):
``presentation`` ``presentation``
The file name of the presentations to the run. The file name of the presentations to the run.
``is_live``
True if Live controller is opening the presentation
""" """
pass pass