popupMenu: Fix PopupSliderMenuItem

It seems a bad rebase took this away.
This commit is contained in:
Jasper St. Pierre 2013-06-06 15:49:20 -04:00
parent aee7cd73c4
commit e645edbda7

View File

@ -518,9 +518,7 @@ const PopupSliderMenuItem = new Lang.Class({
this._slider.connect('value-changed', Lang.bind(this, function(actor, value) { this._slider.connect('value-changed', Lang.bind(this, function(actor, value) {
this.emit('value-changed', value); this.emit('value-changed', value);
})); }));
this.addActor(this._slider.actor);
this._releaseId = this._motionId = 0;
this._dragging = false;
}, },
setValue: function(value) { setValue: function(value) {