dash: Remove show/hide functions

As Main.overview is now usable from the dash'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 00:01:59 +01:00
parent f39e693324
commit f1c279765b
2 changed files with 8 additions and 19 deletions

View File

@ -537,7 +537,6 @@ Overview.prototype = {
this.viewSelector.show();
this._workspacesDisplay.show();
this.dash.show();
this.workspaces = this._workspacesDisplay.workspacesView;
global.overlay_group.add_actor(this.workspaces.actor);
@ -751,7 +750,6 @@ Overview.prototype = {
this._workspacesDisplay.hide();
this.viewSelector.hide();
this.dash.hide();
this._desktopFade.hide();
this._background.hide();