diff --git a/openlp/plugins/presentations/lib/impresscontroller.py b/openlp/plugins/presentations/lib/impresscontroller.py index c4250f27a..8dc4861aa 100644 --- a/openlp/plugins/presentations/lib/impresscontroller.py +++ b/openlp/plugins/presentations/lib/impresscontroller.py @@ -222,7 +222,7 @@ class ImpressDocument(PresentationDocument): return self.presentation = self.document.getPresentation() self.presentation.Display = \ - self.controller.plugin.render_manager.screens.current_display + 1 + self.controller.plugin.renderManager.screens.current_display + 1 self.control = None self.create_thumbnails() diff --git a/openlp/plugins/presentations/lib/powerpointcontroller.py b/openlp/plugins/presentations/lib/powerpointcontroller.py index e7126990d..00ded85f6 100644 --- a/openlp/plugins/presentations/lib/powerpointcontroller.py +++ b/openlp/plugins/presentations/lib/powerpointcontroller.py @@ -173,7 +173,7 @@ class PowerpointDocument(PresentationDocument): return True - def isActive(self): + def is_active(self): """ Returns true if a presentation is currently active """ @@ -206,7 +206,7 @@ class PowerpointDocument(PresentationDocument): """ Returns true if screen is blank """ - if self.isActive(): + if self.is_active(): return self.presentation.SlideShowWindow.View.State == 3 else: return False @@ -233,7 +233,7 @@ class PowerpointDocument(PresentationDocument): dpi = 96 self.presentation.SlideShowSettings.Run() self.presentation.SlideShowWindow.View.GotoSlide(1) - rendermanager = self.controller.plugin.render_manager + rendermanager = self.controller.plugin.renderManager rect = rendermanager.screens.current[u'size'] self.presentation.SlideShowWindow.Top = rect.y() * 72 / dpi self.presentation.SlideShowWindow.Height = rect.height() * 72 / dpi