Fixed: replacing background with video unblank screen even if "Blanked to Theme" and shows content.

Fixes: https://launchpad.net/bugs/1225763
This commit is contained in:
Dmitriy Marmyshev 2013-09-18 19:18:06 +04:00
parent c17826937c
commit 7998ca7702
2 changed files with 4 additions and 2 deletions

View File

@ -2,6 +2,7 @@
*.*~
\#*\#
*.eric4project
*.eric5project
*.ropeproject
*.e4*
.eric4project

View File

@ -423,10 +423,11 @@ class MediaController(object):
controller.volumeSlider.blockSignals(False)
return False
if status:
display.frame.evaluateJavaScript(u'show_blank("desktop");')
if not controller.media_info.is_background:
display.frame.evaluateJavaScript(u'show_blank("desktop");')
self.curDisplayMediaPlayer[display].set_visible(display,
True)
if controller.isLive:
if controller.isLive and not controller.media_info.is_background:
if controller.hideMenu.defaultAction().isChecked():
controller.hideMenu.defaultAction().trigger()
# Start Timer for ui updates