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

bzr-revno: 2171
Fixes: https://launchpad.net/bugs/1225763
This commit is contained in:
Dmitriy Marmyshev 2013-10-06 07:16:46 +01:00 committed by Tim Bentley
commit ad0578f20b
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:
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