Bug 591316 - Fix bad notify:: parameters
We weren't using them, and they were wrong.
This commit is contained in:
@ -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);
|
||||
}));
|
||||
|
||||
|
Reference in New Issue
Block a user