From ce9db8eeb1309594ddd8aa7b7e8e4f9bec3de07a Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Wed, 14 Nov 2007 17:42:05 +0000 Subject: use the window's fullscreen method to get to fullscreen mode, this does not mess up the state the window manager has --- diff --git a/NEWS b/NEWS index 5fd331d..6f75e39 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +* use the window's fullscreen method to get to fullscreen mode, +this does not mess up the state the window manager has (erikos) + 72 * Save the page source with mime type text/html (erikos) 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: -- cgit v0.9.1