[gnome-shell/wip/paging] frequentView: not overlaping dash



commit e35a9a87b8de3ad1add8c921acd2a062aed4f508
Author: Carlos Soriano <carlos soriano89 gmail com>
Date:   Mon Jul 15 13:49:17 2013 +0200

    frequentView: not overlaping dash

 data/theme/gnome-shell.css |    2 +-
 js/ui/iconGrid.js          |    2 --
 2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index d0feffe..8b35f9a 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -900,7 +900,7 @@ StScrollBar StButton#vhandle:active {
 
 .search-display > StBoxLayout,
 .all-apps,
-.frequent-apps {
+.frequent-apps > StBoxLayout {
     /* horizontal padding to make sure scrollbars or dash don't overlap content */
     padding: 8px 88px;
 }
diff --git a/js/ui/iconGrid.js b/js/ui/iconGrid.js
index d0b446d..5a19193 100644
--- a/js/ui/iconGrid.js
+++ b/js/ui/iconGrid.js
@@ -279,9 +279,7 @@ const IconGrid = new Lang.Class({
         if(this._fillParent) {
             global.log("First box " + [box.x1, box.x2]);
             // Reset the passed in box to fill the parent
-            this.actor.get_parent().ensure_style();
             let parentBox = this.actor.get_parent().allocation;
-            parentBox = this.actor.get_theme_node().get_content_box(parentBox);
             global.log("PArentbox " + [parentBox.x1, parentBox.x2]);
             let gridBox = this.actor.get_theme_node().get_content_box(parentBox);
             box = this._grid.get_theme_node().get_content_box(gridBox);


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