workspaceSwitcher: Initially hide after creation

The default state of the switcher is constructed but not visible,
so create it that way.

This fixes a bug where if we created the switcher but didn't show it
or use it we'd end up with an empty, odd looking switcher.
This commit is contained in:
Adel Gadllah 2011-02-09 23:57:23 +01:00
parent 165f4e38b7
commit a4e53953a9

View File

@ -49,7 +49,8 @@ WorkspaceSwitcherPopup.prototype = {
this._position(); this._position();
this.actor.show(); this.actor.hide();
this._timeoutId = Mainloop.timeout_add(DISPLAY_TIMEOUT, Lang.bind(this, this._onTimeout)); this._timeoutId = Mainloop.timeout_add(DISPLAY_TIMEOUT, Lang.bind(this, this._onTimeout));
}, },