Go back to the home page when all activities are closed.

This commit is contained in:
Marco Pesenti Gritti 2007-03-12 22:47:17 +01:00
parent 57b9ca4b71
commit 2c468110ba

View File

@ -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