From 81dad2b0edd15c60ab8aa4d1707131da745574c6 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Thu, 04 Oct 2007 09:39:11 +0000 Subject: Do not show the toolbar in fullscreen mode if the main toolbar is not 2007-10-04 Carlos Garcia Campos * shell/ev-window.c: (ev_window_run_fullscreen): Do not show the toolbar in fullscreen mode if the main toolbar is not visible. Fixes bug #483048. svn path=/trunk/; revision=2690 --- (limited to 'shell') 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)); -- cgit v0.9.1