From 9987c8a7d7fac57e746f2051f3f2a73aef5b7ddb Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Mon, 12 Mar 2007 16:10:32 -0400 Subject: [PATCH] Fix traceback on zoom level update --- shell/view/Shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/view/Shell.py b/shell/view/Shell.py index f4ba70cd..6f2dac68 100644 --- a/shell/view/Shell.py +++ b/shell/view/Shell.py @@ -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)