- fixed bug #793537 "Traceback when hooking up 2nd monitor"

bzr-revno: 1617
Fixes: https://launchpad.net/bugs/793537
This commit is contained in:
Andreas Preikschat 2011-06-06 16:46:14 +02:00
commit b8d452bda5

View File

@ -106,7 +106,7 @@ class ScreenList(object):
"""
# Do not log at start up.
if changed_screen != -1:
log.info(u'screen_count_changed %d' % number)
log.info(u'screen_count_changed %d' % self.desktop.numScreens())
# Remove unplugged screens.
for screen in copy.deepcopy(self.screen_list):
if screen[u'number'] == self.desktop.numScreens():