From 5c82a0c3dd9239703e9a8fbda757175023c8cca8 Mon Sep 17 00:00:00 2001 From: Martin Zibricky Date: Tue, 6 Nov 2012 12:58:32 +0100 Subject: [PATCH] Bug #963955 : Rename controllersVisible to controlsVisible. --- openlp/core/ui/media/mediacontroller.py | 4 ++-- openlp/plugins/media/lib/mediaitem.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openlp/core/ui/media/mediacontroller.py b/openlp/core/ui/media/mediacontroller.py index 1dc370f12..99102c3e1 100644 --- a/openlp/core/ui/media/mediacontroller.py +++ b/openlp/core/ui/media/mediacontroller.py @@ -296,7 +296,7 @@ class MediaController(object): player.resize(display) def video(self, controller, file, muted, isBackground, hidden=False, - isInfo=False, controllersVisible=True): + isInfo=False, controlsVisible=True): """ Loads and starts a video to run with the option of sound """ @@ -363,7 +363,7 @@ class MediaController(object): unicode(translate('MediaPlugin.MediaItem', 'Unsupported File'))) return False - self.set_controls_visible(controller, controllersVisible) + self.set_controls_visible(controller, controlsVisible) log.debug(u'use %s controller' % self.curDisplayMediaPlayer[display]) return True diff --git a/openlp/plugins/media/lib/mediaitem.py b/openlp/plugins/media/lib/mediaitem.py index 749fb1ebb..a47ebc36a 100644 --- a/openlp/plugins/media/lib/mediaitem.py +++ b/openlp/plugins/media/lib/mediaitem.py @@ -216,7 +216,7 @@ class MediaMediaItem(MediaManagerItem): # Phonon/Webkit. if self.plugin.mediaController.video(self.mediaController, filename, muted=False, isBackground=False, isInfo=True, - controllersVisible=False): + controlsVisible=False): self.mediaLength = self.mediaController.media_info.length service_item.media_length = self.mediaLength if self.mediaLength > 0: