workspaceThumbnail: handle show/hide when entering/leaving the overview

Handle this internally, instead of having WorkspacesDisplay show/hide
us.

https://bugzilla.gnome.org/show_bug.cgi?id=690175
This commit is contained in:
Cosimo Cecchi
2012-12-13 10:39:52 -05:00
parent 9f98f6f02d
commit d2c6149923
2 changed files with 7 additions and 4 deletions

View File

@ -573,7 +573,6 @@ const WorkspacesDisplay = new Lang.Class({
this._updateZoom();
this._controls.show();
this._thumbnailsBox.show();
this._updateWorkspacesViews();
@ -611,7 +610,6 @@ const WorkspacesDisplay = new Lang.Class({
hide: function() {
this._controls.hide();
this._thumbnailsBox.hide();
if (!this._alwaysZoomOut)
this.zoomFraction = 0;