fixed bug 793537

Fixes: https://launchpad.net/bugs/793537
This commit is contained in:
Andreas Preikschat 2011-06-06 16:17:39 +02:00
parent 935f44bfe8
commit 6047dd9f5b

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():