From 39d691d2ebf997c1c741e7566461f3eee22b58eb Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Sun, 16 Jun 2013 18:46:44 +0200 Subject: [PATCH] fix --- openlp/core/ui/slidecontroller.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/openlp/core/ui/slidecontroller.py b/openlp/core/ui/slidecontroller.py index 44781d4c4..0a49110a6 100644 --- a/openlp/core/ui/slidecontroller.py +++ b/openlp/core/ui/slidecontroller.py @@ -694,9 +694,8 @@ class SlideController(DisplayController): def addServiceManagerItem(self, item, slideno): """ - Method to install the service item into the controller and - request the correct toolbar for the plugin. - Called by ServiceManager + Method to install the service item into the controller and request the correct toolbar for the plugin. Called by + :class:`~openlp.core.ui.ServiceManager` """ log.debug(u'addServiceManagerItem live = %s' % self.is_live) # If no valid slide number is specified we take the first one, but we @@ -721,8 +720,7 @@ class SlideController(DisplayController): def _process_item(self, service_item, slideno): """ - Loads a ServiceItem into the system from ServiceManager - Display the slide number passed + Loads a ServiceItem into the system from ServiceManager. Display the slide number passed. """ log.debug(u'processManagerItem live = %s' % self.is_live) self.on_stop_loop() @@ -758,7 +756,7 @@ class SlideController(DisplayController): self.setAudioItemsVisibility(True) row = 0 text = [] - width = self.main_window.controlSplitter.sizes()[self.split] + width = self.main_window.control_splitter.sizes()[self.split] for framenumber, frame in enumerate(self.service_item.get_frames()): slideHeight = 0 if self.service_item.is_text():