[gnome-shell] appDisplay: Remove _updateAdjustment
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] appDisplay: Remove _updateAdjustment
- Date: Thu, 5 Sep 2013 16:26:51 +0000 (UTC)
commit fd8def705d45bd8681f21e9242a4c568259fcde8
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Sep 4 14:41:24 2013 +0200
appDisplay: Remove _updateAdjustment
Provided that PaginatedIconGrid's height request is correct, we
can rely on StBoxLayout to update the adjustment correctly.
js/ui/appDisplay.js | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index ece06a5..7ef8272 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -505,11 +505,6 @@ const AllView = new Lang.Class({
this.goToPage(itemPage);
},
- _updateAdjustment: function(availHeight) {
- this._adjustment.page_size = availHeight;
- this._adjustment.upper = this._stack.height;
- },
-
_updateIconOpacities: function(folderOpen) {
for (let id in this._items) {
let params, opacity;
@@ -538,8 +533,6 @@ const AllView = new Lang.Class({
let availHeight = box.y2 - box.y1;
let oldNPages = this._grid.nPages();
- this._updateAdjustment(availHeight);
-
this._grid.adaptToSize(availWidth, availHeight);
let fadeOffset = Math.min(this._grid.topPadding,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]