diff --git a/js/ui/altTab.js b/js/ui/altTab.js index f211a8b3c..412225af6 100644 --- a/js/ui/altTab.js +++ b/js/ui/altTab.js @@ -512,7 +512,7 @@ SwitcherList.prototype = { let totalSpacing = this._list.spacing * (this._items.length - 1); alloc.min_size = this._items.length * maxChildMin + separatorWidth + totalSpacing; - alloc.nat_size = this._items.length * maxChildNat + separatorWidth + totalSpacing; + alloc.natural_size = this._items.length * maxChildNat + separatorWidth + totalSpacing; }, _getPreferredHeight: function (actor, forWidth, alloc) { @@ -532,7 +532,7 @@ SwitcherList.prototype = { } alloc.min_size = maxChildMin; - alloc.nat_size = maxChildNat; + alloc.natural_size = maxChildNat; }, _allocate: function (actor, box, flags) { diff --git a/js/ui/workspacesView.js b/js/ui/workspacesView.js index a93c87b9f..c640fe195 100644 --- a/js/ui/workspacesView.js +++ b/js/ui/workspacesView.js @@ -747,7 +747,7 @@ SingleView.prototype = { width = children[i].x + children[i].width; } alloc.min_size = width; - alloc.nat_size = width; + alloc.natural_size = width; })); this._indicatorsPanel.connect('get-preferred-height', Lang.bind(this, function (actor, fw, alloc) { let children = actor.get_children(); @@ -755,7 +755,7 @@ SingleView.prototype = { if (children.length) height = children[0].height; alloc.min_size = height; - alloc.nat_size = height; + alloc.natural_size = height; })); this._indicatorsPanel.connect('allocate', Lang.bind(this, function (actor, box, flags) { let children = actor.get_children();