← Back to team overview

openlp-core team mailing list archive

[Merge] lp:~smpettit/openlp/blankscreen into lp:openlp

 

Stevan Pettit has proposed merging lp:~smpettit/openlp/blankscreen into lp:openlp.

Requested reviews:
  OpenLP Core (openlp-core)

For more details, see:
https://code.launchpad.net/~smpettit/openlp/blankscreen/+merge/62594

Fix bug 788335 

Modified slidecontroller.py to blank the screen when serviceItem is None, which occurs when OpenLP is first started.
-- 
https://code.launchpad.net/~smpettit/openlp/blankscreen/+merge/62594
Your team OpenLP Core is requested to review the proposed merge of lp:~smpettit/openlp/blankscreen into lp:openlp.
=== modified file 'openlp/core/ui/slidecontroller.py'
--- openlp/core/ui/slidecontroller.py	2011-05-26 17:25:59 +0000
+++ openlp/core/ui/slidecontroller.py	2011-05-27 02:57:29 +0000
@@ -841,6 +841,11 @@
                 Receiver.send_message(u'%s_unblank'
                     % self.serviceItem.name.lower(),
                     [self.serviceItem, self.isLive])
+        else:
+            if hide_mode:
+                Receiver.send_message(u'maindisplay_hide', hide_mode)
+            else:
+                Receiver.send_message(u'maindisplay_show')
 
     def hidePlugin(self, hide):
         """


Follow ups