From 1379c6b4047958d8b2a45debe6d0c724fabaf9c6 Mon Sep 17 00:00:00 2001 From: Cosimo Cecchi Date: Fri, 15 Feb 2013 18:23:15 -0500 Subject: [PATCH] overview: move ctrlAltTab handling to Dash This is also what the panel does. https://bugzilla.gnome.org/show_bug.cgi?id=693924 --- js/ui/dash.js | 4 ++++ js/ui/overview.js | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/ui/dash.js b/js/ui/dash.js index 3bd376696..0d919afbc 100644 --- a/js/ui/dash.js +++ b/js/ui/dash.js @@ -421,6 +421,10 @@ const Dash = new Lang.Class({ Lang.bind(this, this._onDragCancelled)); Main.overview.connect('window-drag-end', 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() { diff --git a/js/ui/overview.js b/js/ui/overview.js index 10deadae9..c57ab9546 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -234,10 +234,6 @@ const Overview = new Lang.Class({ 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'); - this._viewSelector = new ViewSelector.ViewSelector(this._searchEntry, this._dash.showAppsButton); this._group.add(this._viewSelector.actor, { x_fill: true,