[evince/gnome-2-30] Hide sidebar by default when window is empty
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/gnome-2-30] Hide sidebar by default when window is empty
- Date: Fri, 30 Apr 2010 08:03:46 +0000 (UTC)
commit 6b0ec09ac9edf7432d4d5e8f78642e08776b62fc
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Fri Apr 30 10:01:03 2010 +0200
Hide sidebar by default when window is empty
shell/ev-window.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 4c4c460..3124e0a 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -572,7 +572,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 && !presentation;
+ sidebar = (priv->chrome & EV_CHROME_SIDEBAR) != 0 && priv->document && !presentation;
set_widget_visibility (priv->menubar, menubar);
set_widget_visibility (priv->toolbar, toolbar);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]