[gnome-shell/wip/paging-release: 22/85] t



commit d9cc2bbe69fef576d22853719dc4726b2295f6d1
Author: Carlos Soriano <carlos soriano89 gmail com>
Date:   Wed Jul 3 15:50:08 2013 +0200

    t

 js/ui/appDisplay.js |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 598bc27..6aa1500 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -125,16 +125,16 @@ const FolderView = new Lang.Class({
     _init: function() {
         this._grid = new IconGrid.IconGrid({ xAlign: St.Align.MIDDLE,
             columnLimit: MAX_COLUMNS });
+        // Standard hack for ClutterBinLayout
+        this._grid.actor.x_expand = true;
         this.actor = new St.ScrollView({x_expand: true, y_expand:true, y_fill: true, x_fill:true, 
overlay_scrollbars: true});
         this.actor.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC);
         this._box = new St.BoxLayout({vertical:true});
         this._widget = new St.Widget({x_expand: true, y_expand:true});
-
         this._widget.add_actor(this._grid.actor);
-        this._box.add_actor(this._widget);
+        this._box.add(this._widget, { expand: true });
         this.actor.add_actor(this._box);
-        // Standard hack for ClutterBinLayout
-        this._grid.actor.x_expand = true;
+        this.actor.set_size(1200, 800);
 
         this._items = {};
         this._allItems = [];
@@ -992,6 +992,7 @@ const AppFolderPopup = new Lang.Class({
                                      y_expand: true,
                                      x_align: Clutter.ActorAlign.CENTER,
                                      y_align: Clutter.ActorAlign.START });
+
         this._boxPointer = new BoxPointer.BoxPointer(this._arrowSide,
                                                      { style_class: 'app-folder-popup-bin',
                                                        x_fill: true,


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