Bug 591316 - Fix bad notify:: parameters
We weren't using them, and they were wrong.
This commit is contained in:
parent
06d17e08c0
commit
9fa88caded
@ -490,7 +490,7 @@ WellDisplayItem.prototype = {
|
||||
GLOW_COLOR.blue / 255,
|
||||
GLOW_COLOR.alpha / 255);
|
||||
}));
|
||||
this._name.connect('notify::allocation', Lang.bind(this, function (n, alloc) {
|
||||
this._name.connect('notify::allocation', Lang.bind(this, function () {
|
||||
let x = this._name.x;
|
||||
let y = this._name.y;
|
||||
let width = this._name.width;
|
||||
|
@ -347,10 +347,10 @@ GenericDisplay.prototype = {
|
||||
this._list = new Shell.OverflowList({ spacing: 6.0,
|
||||
item_height: ITEM_DISPLAY_HEIGHT });
|
||||
|
||||
this._list.connect('notify::n-pages', Lang.bind(this, function (grid, alloc) {
|
||||
this._list.connect('notify::n-pages', Lang.bind(this, function () {
|
||||
this._updateDisplayControl(true);
|
||||
}));
|
||||
this._list.connect('notify::page', Lang.bind(this, function (grid, alloc) {
|
||||
this._list.connect('notify::page', Lang.bind(this, function () {
|
||||
this._updateDisplayControl(false);
|
||||
}));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user