diff options
author | Simon Schampijer <simon@schampijer.de> | 2007-11-14 17:42:05 (GMT) |
---|---|---|
committer | Simon Schampijer <simon@schampijer.de> | 2007-11-14 17:42:05 (GMT) |
commit | ce9db8eeb1309594ddd8aa7b7e8e4f9bec3de07a (patch) | |
tree | 2dbdc9c0d98c1dac7679ef25f93e5c585aafa72f /viewtoolbar.py | |
parent | db98cd5419c327c155be864f1cccec639df56614 (diff) |
use the window's fullscreen method to get to fullscreen mode,
this does not mess up the state the window manager has
Diffstat (limited to 'viewtoolbar.py')
-rw-r--r-- | viewtoolbar.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/viewtoolbar.py b/viewtoolbar.py index 0c3a8d7..2b08360 100644 --- a/viewtoolbar.py +++ b/viewtoolbar.py @@ -66,10 +66,7 @@ class ViewToolbar(gtk.Toolbar): self._browser.zoom_out() def __fullscreen_clicked_cb(self, button): - if self._activity.tray is not None: - self._activity.tray.hide() - if self._activity.toolbox is not None: - self._activity.toolbox.hide() + self._activity.fullscreen() def __tray_clicked_cb(self, button): if self._activity.tray.props.visible is False: |