From 2c468110ba6d7a4e5ff95a11f8c6bb26f683eecd Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 12 Mar 2007 22:47:17 +0100 Subject: [PATCH] Go back to the home page when all activities are closed. --- shell/view/Shell.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/shell/view/Shell.py b/shell/view/Shell.py index a5985a23..4a2801af 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