Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS3
-rw-r--r--viewtoolbar.py5
2 files changed, 4 insertions, 4 deletions
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: