phill has proposed merging lp:~phill-ridout/openlp/fixes into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
Fixed showing desktop.
TRB143, I could not find a better place to upt this code! Please feel free to
modify/rewrite etc. I am a noob after all :p
There is a flicker of text when switching from showing desktop to hiding
screen, or displaying theme! I've had a look, and am unsure of a way to fix
this!
--
https://code.launchpad.net/~phill-ridout/openlp/fixes/+merge/29925
Your team OpenLP Core is requested to review the proposed merge of
lp:~phill-ridout/openlp/fixes into lp:openlp.
=== modified file 'openlp/core/ui/maindisplay.py'
--- openlp/core/ui/maindisplay.py 2010-07-08 08:14:10 +0000
+++ openlp/core/ui/maindisplay.py 2010-07-14 20:42:45 +0000
@@ -358,6 +358,9 @@
else:
self.displayBlank.setPixmap(
QtGui.QPixmap.fromImage(self.blankFrame))
+ if mode != HideMode.Screen and self.isHidden():
+ self.setVisible(True)
+
def showDisplay(self, message=u''):
"""
@@ -367,6 +370,8 @@
"""
log.debug(u'showDisplay')
self.displayBlank.setPixmap(self.transparent)
+ if self.isHidden():
+ self.setVisible(True)
#Trigger actions when display is active again
Receiver.send_message(u'maindisplay_active')
_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openlp-core
More help : https://help.launchpad.net/ListHelp