openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #09382
[Merge] lp:~smpettit/openlp/bug-788335 into lp:openlp
Stevan Pettit has proposed merging lp:~smpettit/openlp/bug-788335 into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
For more details, see:
https://code.launchpad.net/~smpettit/openlp/bug-788335/+merge/62751
Fixed bug #788335
Modified slidecontroller to properly blank the display when OpenLP is started and no item has been sent to live.
--
https://code.launchpad.net/~smpettit/openlp/bug-788335/+merge/62751
Your team OpenLP Core is requested to review the proposed merge of lp:~smpettit/openlp/bug-788335 into lp:openlp.
=== modified file 'openlp/core/ui/slidecontroller.py'
--- openlp/core/ui/slidecontroller.py 2011-05-27 20:14:41 +0000
+++ openlp/core/ui/slidecontroller.py 2011-05-28 04:20:52 +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):
"""
@@ -859,6 +864,11 @@
Receiver.send_message(u'%s_unblank'
% self.serviceItem.name.lower(),
[self.serviceItem, self.isLive])
+ else:
+ if hide:
+ Receiver.send_message(u'maindisplay_hide', HideMode.Screen)
+ else:
+ Receiver.send_message(u'maindisplay_show')
def onSlideSelected(self, start=False):
"""
Follow ups