diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2007-10-04 09:39:11 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2007-10-04 09:39:11 (GMT) |
commit | 81dad2b0edd15c60ab8aa4d1707131da745574c6 (patch) | |
tree | 5b07f20cf615192d7cf488c72a2c02db6d44e882 /shell | |
parent | 2c027febd41098f2b2157d30210cc386fbbfdef8 (diff) |
Do not show the toolbar in fullscreen mode if the main toolbar is not
2007-10-04 Carlos Garcia Campos <carlosgc@gnome.org>
* 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
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ev-window.c | 6 |
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)); |