code style

This commit is contained in:
andreas 2010-07-12 23:02:06 +02:00
parent d4780cb37b
commit 1031125932
1 changed files with 6 additions and 6 deletions

View File

@ -245,7 +245,7 @@ class MainDisplay(DisplayWidget):
self.screens, self.screens.monitor_number)) self.screens, self.screens.monitor_number))
self.setVisible(False) self.setVisible(False)
self.screen = self.screens.current self.screen = self.screens.current
# Sort out screen locations and sizes # Sort out screen locations and sizes.
self.setGeometry(self.screen[u'size']) self.setGeometry(self.screen[u'size'])
self.scene.setSceneRect(0, 0, self.size().width(), self.size().height()) self.scene.setSceneRect(0, 0, self.size().width(), self.size().height())
self.webView.setGeometry(0, 0, self.size().width(), self.webView.setGeometry(0, 0, self.size().width(),
@ -546,10 +546,10 @@ class VideoDisplay(Phonon.VideoWidget):
# if it is triggered from the plugin # if it is triggered from the plugin
# """ # """
# log.debug(u'VideoDisplay Queue new media message %s' % message) # log.debug(u'VideoDisplay Queue new media message %s' % message)
# #If not file take the stored one # # If not file take the stored one.
# if not message: # if not message:
# message = self.message # message = self.message
# # still no file name then stop as it was a normal video stopping # # Still no file name then stop as it was a normal video stopping.
# if message: # if message:
# self.mediaObject.setCurrentSource(Phonon.MediaSource(message)) # self.mediaObject.setCurrentSource(Phonon.MediaSource(message))
# self.message = message # self.message = message