diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-03-12 21:47:17 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-03-12 21:47:17 (GMT) |
commit | 2c468110ba6d7a4e5ff95a11f8c6bb26f683eecd (patch) | |
tree | ea6e09dc3a0063638977b2622ec0414140472644 /shell | |
parent | 57b9ca4b71d763a76fc9c01cd465627bba94eed5 (diff) |
Go back to the home page when all activities are closed.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/view/Shell.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/shell/view/Shell.py b/shell/view/Shell.py index a5985a2..4a2801a 100644 --- a/shell/view/Shell.py +++ b/shell/view/Shell.py @@ -84,8 +84,9 @@ class Shell(gobject.GObject): if self._current_host: self._current_host.set_active(True) - - self._zoom_level = sugar.ZOOM_ACTIVITY + self._zoom_level = sugar.ZOOM_ACTIVITY + else: + self.set_zoom_level(sugar.ZOOM_HOME) def get_model(self): return self._model |