dash: add a SlidingControl for the dash actor
Will be needed to hide and show it when searching. https://bugzilla.gnome.org/show_bug.cgi?id=682050
This commit is contained in:
@ -225,13 +225,15 @@ const Overview = new Lang.Class({
|
||||
|
||||
// TODO - recalculate everything when desktop size changes
|
||||
this._dash = new Dash.Dash();
|
||||
this._group.add_actor(this._dash.actor);
|
||||
this.dashIconSize = this._dash.iconSize;
|
||||
this._dash.connect('icon-size-changed',
|
||||
Lang.bind(this, function() {
|
||||
this.dashIconSize = this._dash.iconSize;
|
||||
}));
|
||||
|
||||
this._dashSlider = new OverviewControls.DashSlider(this._dash);
|
||||
this._group.add_actor(this._dashSlider.actor);
|
||||
|
||||
// Translators: this is the name of the dock/favorites area on
|
||||
// the left of the overview
|
||||
Main.ctrlAltTabManager.addGroup(this._dash.actor, _("Dash"), 'user-bookmarks-symbolic');
|
||||
|
Reference in New Issue
Block a user