Fix traceback on zoom level update

This commit is contained in:
Dan Williams 2007-03-12 16:10:32 -04:00
parent bf80cb55b9
commit 9987c8a7d7

View File

@ -139,7 +139,7 @@ class Shell(gobject.GObject):
self._update_zoom_level()
def _update_zoom_level(self):
if level == sugar.ZOOM_ACTIVITY:
if self._zoom_level == sugar.ZOOM_ACTIVITY:
self._screen.toggle_showing_desktop(False)
else:
self._screen.toggle_showing_desktop(True)