[shotwell] Re-use variable for toolbar decision



commit b382a073126c661016963d724ac6770223049675
Author: Jens Georg <mail jensge org>
Date:   Fri Jun 23 23:58:12 2017 +0200

    Re-use variable for toolbar decision

 src/AppWindow.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/AppWindow.vala b/src/AppWindow.vala
index 96225b2..ba5ef3f 100644
--- a/src/AppWindow.vala
+++ b/src/AppWindow.vala
@@ -93,7 +93,7 @@ public class FullscreenWindow : PageWindow {
         // fullscreen, start off with toolbar invoked, as a clue for the
         // user. Otherwise leave hidden unless activated by mouse over
         if (Config.Facade.get_instance().get_display_toolbar() ||
-            !Config.Facade.get_instance().get_pin_toolbar_state()) {
+            !is_toolbar_dismissal_enabled) {
             invoke_toolbar();
         } else {
             hide_toolbar();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]