From e18d18e0edb17b81d6716a0579bd058ec0e34002 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Mon, 30 Jul 2007 09:34:14 +0000 Subject: [PATCH] Do not hide sidebar in fullscreen mode. Fixes bug #396535. 2007-07-30 Carlos Garcia Campos * shell/ev-window.c: (update_chrome_visibility), (ev_window_sidebar_visibility_changed_cb): Do not hide sidebar in fullscreen mode. Fixes bug #396535. svn path=/trunk/; revision=2597 --- ChangeLog | 7 +++++++ shell/ev-window.c | 6 ++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index cf6da8f7..5c2e7b11 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2007-07-30 Carlos Garcia Campos + + * shell/ev-window.c: (update_chrome_visibility), + (ev_window_sidebar_visibility_changed_cb): + + Do not hide sidebar in fullscreen mode. Fixes bug #396535. + 2007-07-29 Carlos Garcia Campos * shell/ev-navigation-action.c: diff --git a/shell/ev-window.c b/shell/ev-window.c index cdc41ea6..99758209 100644 --- a/shell/ev-window.c +++ b/shell/ev-window.c @@ -506,7 +506,7 @@ update_chrome_visibility (EvWindow *window) fullscreen_toolbar = ((priv->chrome & EV_CHROME_FULLSCREEN_TOOLBAR) != 0 || (priv->chrome & EV_CHROME_RAISE_TOOLBAR) != 0) && fullscreen; findbar = (priv->chrome & EV_CHROME_FINDBAR) != 0; - sidebar = (priv->chrome & EV_CHROME_SIDEBAR) != 0 && !fullscreen_mode; + sidebar = (priv->chrome & EV_CHROME_SIDEBAR) != 0 && !presentation; preview_toolbar = (priv->chrome& EV_CHROME_PREVIEW_TOOLBAR); set_widget_visibility (priv->menubar, menubar); @@ -3806,9 +3806,7 @@ ev_window_sidebar_visibility_changed_cb (EvSidebar *ev_sidebar, action = gtk_action_group_get_action (ev_window->priv->action_group, "ViewSidebar"); - if (!ev_view_get_presentation (view) && - !ev_view_get_fullscreen (view)) { - + if (!ev_view_get_presentation (view)) { gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), GTK_WIDGET_VISIBLE (ev_sidebar)); -- 2.43.5