Don't show the display on startup if there's only one monitor.

This commit is contained in:
Raoul Snyman 2010-08-29 20:12:36 +02:00
parent 9278f271f8
commit 90ac6da839

View File

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