diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | viewtoolbar.py | 5 |
2 files changed, 3 insertions, 4 deletions
@@ -1,3 +1,5 @@ +* #4889: use the window's fullscreen method to get to fullscreen mode, +this does not mess up the state the window manager has (erikos) * #4870: Add onStatusChange method to Download. (tomeu) * #4904: Save downloads to the instance dir, not tmp. (tomeu) 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: |