panel: Hide spinner when switching apps

Commit fcfd17e was overzealous when simplifying the previous spinner
animation, as a result the spinner now stays around when switching
to another application while the animation is ongoing.
This commit is contained in:
Florian Müllner 2011-03-16 19:08:59 +01:00
parent 8bece0b49e
commit b7be4df603

View File

@ -501,6 +501,7 @@ AppMenuButton.prototype = {
return; return;
} }
this._spinner.actor.hide();
if (this._iconBox.child != null) if (this._iconBox.child != null)
this._iconBox.child.destroy(); this._iconBox.child.destroy();
this._iconBox.hide(); this._iconBox.hide();