[gnome-shell] overview: move ctrlAltTab handling to Dash
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] overview: move ctrlAltTab handling to Dash
- Date: Sat, 16 Feb 2013 04:47:38 +0000 (UTC)
commit 1379c6b4047958d8b2a45debe6d0c724fabaf9c6
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Feb 15 18:23:15 2013 -0500
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 3bd3766..0d919af 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 10deada..c57ab95 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]