workspaceThumbnail: pack ThumbnailsBox in the overview directly

Use a SlidingControl subclass and pack that in the overview group
directly.

https://bugzilla.gnome.org/show_bug.cgi?id=682050
This commit is contained in:
Cosimo Cecchi
2012-12-11 17:26:09 -05:00
parent 93bde0cae2
commit 3d8a87563d
6 changed files with 78 additions and 298 deletions

View File

@ -992,8 +992,6 @@ const ThumbnailsBox = new Lang.Class({
// See comment about this._background in _init()
let themeNode = this._background.get_theme_node();
forWidth = themeNode.adjust_for_width(forWidth);
// Note that for getPreferredWidth/Height we cheat a bit and skip propagating
// the size request to our children because we know how big they are and know
// that the actors aren't depending on the virtual functions being called.