From: Carlos Garcia Campos Date: Thu, 4 Oct 2007 09:39:11 +0000 (+0000) Subject: Do not show the toolbar in fullscreen mode if the main toolbar is not X-Git-Tag: EVINCE_2_20_1~7 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=81dad2b0edd15c60ab8aa4d1707131da745574c6;p=evince.git 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 --- diff --git a/ChangeLog b/ChangeLog index 2e914172..5d49d050 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +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. + 2007-09-29 Carlos Garcia Campos * shell/ev-view.c: (ev_view_button_press_event): diff --git a/shell/ev-window.c b/shell/ev-window.c index 7e247afb..ca4ab585 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));