Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-window.c')
-rw-r--r--shell/ev-window.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 7e247af..ca4ab58 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -2821,7 +2821,11 @@ ev_window_run_fullscreen (EvWindow *window)
ev_view_set_fullscreen (EV_VIEW (window->priv->view), TRUE);
ev_window_update_fullscreen_action (window);
- update_chrome_flag (window, EV_CHROME_FULLSCREEN_TOOLBAR, TRUE);
+ /* If the user doesn't have the main toolbar he/she won't probably want
+ * the toolbar in fullscreen mode. See bug #483048
+ */
+ update_chrome_flag (window, EV_CHROME_FULLSCREEN_TOOLBAR,
+ (window->priv->chrome & EV_CHROME_TOOLBAR) != 0);
update_chrome_visibility (window);
gtk_window_fullscreen (GTK_WINDOW (window));