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



commit 8baaa45ce9439972d7b845c88623c7c87546cde2
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 f3cd83a..ae633a0 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 b19dc27..895ce4a 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]