[Chrome] clean up APIs and remove workarounds

https://bugzilla.gnome.org/show_bug.cgi?id=597044
This commit is contained in:
Dan Winship
2009-11-11 13:11:34 -05:00
parent e9787c0f1e
commit b0cb8fb85a
3 changed files with 51 additions and 102 deletions

View File

@ -331,7 +331,7 @@ WidgetBox.prototype = {
onCompleteScope: this });
this.state = this._widget.state = Widget.STATE_POPPING_OUT;
Main.chrome.addInputRegionActor(this._hbox);
Main.chrome.trackActor(this._hbox, { affectsStruts: false });
},
_popOutComplete: function() {
@ -370,7 +370,7 @@ WidgetBox.prototype = {
this._egroup.hide();
this._ebox.x = 0;
Main.chrome.removeInputRegionActor(this._hbox);
Main.chrome.untrackActor(this._hbox);
},
destroy: function() {