Only show the display screen on startup if it is not on the primary screen.

bzr-revno: 1000
This commit is contained in:
Raoul Snyman 2010-08-29 21:29:45 +02:00
commit 0e919ab903

View File

@ -155,9 +155,9 @@ class MainDisplay(DisplayWidget):
self.webView.setHtml(build_html(serviceItem, self.screen, self.webView.setHtml(build_html(serviceItem, self.screen,
self.parent.alertTab, self.isLive)) self.parent.alertTab, self.isLive))
self.initialFrame = True self.initialFrame = True
self.show()
# To display or not to display? # To display or not to display?
if not self.screen[u'primary']: if not self.screen[u'primary']:
self.show()
self.primary = False self.primary = False
else: else:
self.primary = True self.primary = True