Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/jarabe/frame
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2009-11-25 12:48:06 (GMT)
committer Daniel Drake <dsd@laptop.org>2009-11-27 12:21:16 (GMT)
commita5e9b88892c6402bde5f72a73172e4fbfef0d2fe (patch)
treeb8cbffe01b8228773d4b33ecbe724fafae770219 /src/jarabe/frame
parentd83d3fce34c86a617cb6524e00c3383cece15222 (diff)
Activate windows when changing to activity view
This patch fixes a bug where pressing F4 immediately after starting Sugar does not switch to the Journal. This happened because the Journal has not yet been activated, so when the desktop is hidden in response to pressing F4, there is no active window to take over the display. The journal starts in iconified state. We also have to be careful about propogating correct X event times for the F4 keypress case (this is not an event that GTK+ handles, it comes from KeyGrabber).
Diffstat (limited to 'src/jarabe/frame')
-rw-r--r--src/jarabe/frame/zoomtoolbar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jarabe/frame/zoomtoolbar.py b/src/jarabe/frame/zoomtoolbar.py
index c168e97..2ed3c54 100644
--- a/src/jarabe/frame/zoomtoolbar.py
+++ b/src/jarabe/frame/zoomtoolbar.py
@@ -69,7 +69,7 @@ class ZoomToolbar(gtk.Toolbar):
if not button.get_active():
return
- shell.get_model().zoom_level = level
+ shell.get_model().set_zoom_level(level)
def __zoom_level_changed_cb(self, **kwargs):
self._set_zoom_level(kwargs['new_level'])