Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/console/console.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/shell/console/console.py b/shell/console/console.py
index be2d93c..158f6ff 100644
--- a/shell/console/console.py
+++ b/shell/console/console.py
@@ -46,13 +46,15 @@ class Console(gtk.Window):
def _zoom_level_changed_cb(self, shell_model, pspec):
if shell_model.props.zoom_level == ShellModel.ZOOM_HOME:
- self.set_context('home')
+ self.context = 'shell'
+ self._update_view()
elif shell_model.props.zoom_level == ShellModel.ZOOM_ACTIVITY:
activity = self._home_model.get_active_activity()
self.context = 'activity:' + activity.get_type()
self._update_view()
else:
- self.set_context('mesh')
+ self.context = 'mesh'
+ self._update_view()
def _realize_cb(self, widget):
self.window.set_type_hint(gtk.gdk.WINDOW_TYPE_HINT_DIALOG)