overview: move ctrlAltTab handling to Dash
This is also what the panel does. https://bugzilla.gnome.org/show_bug.cgi?id=693924
This commit is contained in:
parent
153d3045ed
commit
1379c6b404
@ -421,6 +421,10 @@ const Dash = new Lang.Class({
|
|||||||
Lang.bind(this, this._onDragCancelled));
|
Lang.bind(this, this._onDragCancelled));
|
||||||
Main.overview.connect('window-drag-end',
|
Main.overview.connect('window-drag-end',
|
||||||
Lang.bind(this, this._onDragEnd));
|
Lang.bind(this, this._onDragEnd));
|
||||||
|
|
||||||
|
// Translators: this is the name of the dock/favorites area on
|
||||||
|
// the left of the overview
|
||||||
|
Main.ctrlAltTabManager.addGroup(this.actor, _("Dash"), 'user-bookmarks-symbolic');
|
||||||
},
|
},
|
||||||
|
|
||||||
_onDragBegin: function() {
|
_onDragBegin: function() {
|
||||||
|
@ -234,10 +234,6 @@ const Overview = new Lang.Class({
|
|||||||
this._dashSlider = new OverviewControls.DashSlider(this._dash);
|
this._dashSlider = new OverviewControls.DashSlider(this._dash);
|
||||||
this._group.add_actor(this._dashSlider.actor);
|
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');
|
|
||||||
|
|
||||||
this._viewSelector = new ViewSelector.ViewSelector(this._searchEntry,
|
this._viewSelector = new ViewSelector.ViewSelector(this._searchEntry,
|
||||||
this._dash.showAppsButton);
|
this._dash.showAppsButton);
|
||||||
this._group.add(this._viewSelector.actor, { x_fill: true,
|
this._group.add(this._viewSelector.actor, { x_fill: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user