diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-04-26 09:31:41 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-04-26 09:31:41 (GMT) |
commit | e49146752ff322c53430419749be53b741f02540 (patch) | |
tree | 0de1e78d17b52759f6ba5fe038fbc96ffc559af3 /shell/view/home/HomeWindow.py | |
parent | 9446c951acfe1c96e10bdec88c0f8a5f8d8b77ce (diff) |
More work on the new graphics API.
Diffstat (limited to 'shell/view/home/HomeWindow.py')
-rw-r--r-- | shell/view/home/HomeWindow.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/shell/view/home/HomeWindow.py b/shell/view/home/HomeWindow.py index 3f33919..c65432d 100644 --- a/shell/view/home/HomeWindow.py +++ b/shell/view/home/HomeWindow.py @@ -54,7 +54,7 @@ class HomeWindow(Window): self._mesh_box = MeshBox(shell, MenuShell(self)) self._transition_box = TransitionBox() - self.set_root(self._home_box) + self.canvas.set_root(self._home_box) self._transition_box.connect('completed', self._transition_completed_cb) @@ -81,7 +81,7 @@ class HomeWindow(Window): def set_zoom_level(self, level): self._level = level - self.set_root(self._transition_box) + self.canvas.set_root(self._transition_box) if level == sugar.ZOOM_HOME: scale = units.XLARGE_ICON_SCALE @@ -94,11 +94,11 @@ class HomeWindow(Window): def _transition_completed_cb(self, transition_box): if self._level == sugar.ZOOM_HOME: - self.set_root(self._home_box) + self.canvas.set_root(self._home_box) elif self._level == sugar.ZOOM_FRIENDS: - self.set_root(self._friends_box) + self.canvas.set_root(self._friends_box) elif self._level == sugar.ZOOM_MESH: - self.set_root(self._mesh_box) + self.canvas.set_root(self._mesh_box) self._update_mesh_state() |