[gnome-games/gnome-3-34] collection-box: Update bottom bar on fold	changes
- From: Alexander Mikhaylenko <alexm src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gnome-games/gnome-3-34] collection-box: Update bottom bar on fold	changes
 
- Date: Tue, 17 Sep 2019 17:38:07 +0000 (UTC)
 
commit ab00923a1ea51b01d0c974377ee2d8c945c3dd3c
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Tue Sep 17 17:36:37 2019 +0000
    collection-box: Update bottom bar on fold changes
    
    Ensure we never show the bottom bar with open subview.
    
    
    (cherry picked from commit 471cfa25afc15b9b3a2bf3ee4b5b07b4d5dd2d14)
 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]