view-selector: Remove show/hide functions

As Main.overview is now usable from the view selector's constructor,
move the setup of signal connections there and remove the show/hide
methods which were used as workaround.

https://bugzilla.gnome.org/show_bug.cgi?id=642196
This commit is contained in:
Florian Müllner
2011-02-12 23:03:56 +01:00
parent 0ae44f4015
commit 6b429b7f50
2 changed files with 8 additions and 36 deletions

View File

@ -535,7 +535,6 @@ Overview.prototype = {
this._group.show();
this._background.show();
this.viewSelector.show();
this._workspacesDisplay.show();
this.workspaces = this._workspacesDisplay.workspacesView;
@ -749,7 +748,6 @@ Overview.prototype = {
this.workspaces = null;
this._workspacesDisplay.hide();
this.viewSelector.hide();
this._desktopFade.hide();
this._background.hide();