[shotwell] Fix initial searchbar state



commit b954655410f5d8351067bd3fb7aef1f6267ffdb7
Author: Jens Georg <mail jensge org>
Date:   Thu Dec 1 01:27:41 2016 +0100

    Fix initial searchbar state
    
    Signed-off-by: Jens Georg <mail jensge org>

 src/library/LibraryWindow.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/library/LibraryWindow.vala b/src/library/LibraryWindow.vala
index 9b71a78..628bc36 100644
--- a/src/library/LibraryWindow.vala
+++ b/src/library/LibraryWindow.vala
@@ -288,7 +288,7 @@ public class LibraryWindow : AppWindow {
         this.add_action_entries (common_actions, this);
         this.add_action_entries (search_actions.get_actions (), search_actions);
 
-        lookup_action ("CommonDisplaySearchbar").change_state (is_search_toolbar_visible);
+        lookup_action ("CommonDisplaySearchbar").change_state 
(Config.Facade.get_instance().get_display_search_bar());
         lookup_action ("CommonDisplaySidebar").change_state (is_sidebar_visible ());
         lookup_action ("CommonDisplayToolbar").change_state (is_toolbar_visible ());
     }


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