Fix traceback on zoom level update
This commit is contained in:
parent
bf80cb55b9
commit
9987c8a7d7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user