Go back to the home page when all activities are closed.
This commit is contained in:
parent
57b9ca4b71
commit
2c468110ba
@ -84,8 +84,9 @@ class Shell(gobject.GObject):
|
|||||||
|
|
||||||
if self._current_host:
|
if self._current_host:
|
||||||
self._current_host.set_active(True)
|
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):
|
def get_model(self):
|
||||||
return self._model
|
return self._model
|
||||||
|
Loading…
Reference in New Issue
Block a user