[gnome-maps] FavoritesPopover: Fix filter reveal



commit 83a86d4e10e7356eda071af7336662f590670a23
Author: Jonas Danielsson <jonas threetimestwo org>
Date:   Mon Nov 24 02:20:34 2014 -0500

    FavoritesPopover: Fix filter reveal

 src/favoritesPopover.js |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/favoritesPopover.js b/src/favoritesPopover.js
index 98747e2..fcd42c9 100644
--- a/src/favoritesPopover.js
+++ b/src/favoritesPopover.js
@@ -75,7 +75,8 @@ const FavoritesPopover = new Lang.Class({
             let visible = Math.min(this._rows, _N_VISIBLE);
 
             // + 6 Makes it pixel perfect
-            this._scrolledWindow.min_content_height = visible * PlaceListRow.ROW_HEIGHT + 6;
+            this._scrolledWindow.min_content_height = visible * (PlaceListRow.ROW_HEIGHT + 6);
+            this._revealer.reveal_child = this._rows > _N_VISIBLE;
         }).bind(this));
 
         this._entry.connect('changed',


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