[evince] Hide sidebar by default when window is empty
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Hide sidebar by default when window is empty
- Date: Fri, 30 Apr 2010 08:19:04 +0000 (UTC)
commit 7f21acefdcaff36c800c48f7f69ce2605e4e20d1
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 54d58eb..dab2c5a 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -565,7 +565,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]