Merge pull request #260 from lexruee/fix-bugs

Fix a few bugs
This commit is contained in:
Jason DeRose
2017-10-20 09:18:23 -04:00
committed by GitHub
4 changed files with 5 additions and 7 deletions

View File

@@ -296,7 +296,9 @@ var taskbarAppIcon = new Lang.Class({
}
this._focusedDots = new St.DrawingArea({width:1, y_expand: true});
this._focusedDots._tweeningToWidth = null;
this._unfocusedDots = new St.DrawingArea({width:1, y_expand: true});
this._unfocusedDots._tweeningToWidth = null;
this._focusedDots.connect('repaint', Lang.bind(this, function() {
if(this._dashItemContainer.animatingOut) {

View File

@@ -119,7 +119,8 @@ var BasicHandler = new Lang.Class({
// skip first element of the arguments
for( let i = 1; i < arguments.length; i++ ) {
this._storage[label].push( this._create(arguments[i]) );
let item = this._storage[label];
item.push(this._create(arguments[i]));
}
},

View File

@@ -88,7 +88,7 @@ var dtpPanel = new Lang.Class({
// This pushes everything down, which isn't desired when the this.panel is moved to the bottom
// I'm adding a 2nd ghost this.panel and will resize the top or bottom ghost depending on the this.panel position
this._myPanelGhost = new St.Bin({
child: new Clutter.Clone({ source: Main.overview._panelGhost.get_child(0) }),
child: new Clutter.Clone({ source: Main.overview._panelGhost.get_child() }),
reactive: false,
opacity: 0
});

View File

@@ -848,11 +848,6 @@ var thumbnailPreviewList = new Lang.Class({
this._redisplayId = Main.initializeDeferredWork(this.actor, Lang.bind(this, this._redisplay));
this._scrollbarId = Main.initializeDeferredWork(this.actor, Lang.bind(this, this._showHideScrollbar));
if (this._stateChangedId > 0) {
this.app.disconnect(this._stateChangedId);
this._stateChangedId = 0;
}
this.actor.connect('destroy', Lang.bind(this, this._onDestroy));
this._stateChangedId = this.app.connect('windows-changed',
Lang.bind(this,