[gnome-games] collection-box: Update bottom bar on fold changes



commit 471cfa25afc15b9b3a2bf3ee4b5b07b4d5dd2d14
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Sep 17 22:36:37 2019 +0500

    collection-box: Update bottom bar on fold changes
    
    Ensure we never show the bottom bar with open subview.

 src/ui/collection-box.vala | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/ui/collection-box.vala b/src/ui/collection-box.vala
index e1f96981..8367b978 100644
--- a/src/ui/collection-box.vala
+++ b/src/ui/collection-box.vala
@@ -51,6 +51,7 @@ private class Games.CollectionBox : Gtk.Box {
 
                adaptive_state.notify["is-showing-bottom-bar"].connect (update_bottom_bar);
                adaptive_state.notify["is-subview-open"].connect (update_bottom_bar);
+               adaptive_state.notify["is-folded"].connect (update_bottom_bar);
        }
 
        public CollectionBox (ListModel collection, AdaptiveState adaptive_state) {


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