[gnome-shell] Actually update well menu filtering for review messages
- From: Colin Walters <walters src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-shell] Actually update well menu filtering for review messages
- Date: Wed, 9 Sep 2009 21:30:34 +0000 (UTC)
commit 913aeae166631396251cf0faee808d1db5bef85e
Author: Colin Walters <walters verbum org>
Date: Wed Sep 9 17:28:52 2009 -0400
Actually update well menu filtering for review messages
My updates got lost due to accidentally being on a rebase branch.
js/ui/overview.js | 8 ++++----
js/ui/workspaces.js | 6 ++----
2 files changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/js/ui/overview.js b/js/ui/overview.js
index 1747da2..4f50e6f 100644
--- a/js/ui/overview.js
+++ b/js/ui/overview.js
@@ -399,16 +399,16 @@ Overview.prototype = {
/**
- * beginApplicationWindowSelection:
+ * setApplicationWindowSelection:
* @appid: Application identifier string
*
- * Enter a mode which shows only the widnows owned by the
+ * Enter a mode which shows only the windows owned by the
* given application, and allow highlighting of a specific
* window with setHighlightWindow().
*/
- beginApplicationWindowSelection: function (appid) {
+ setApplicationWindowSelection: function (appid) {
if (this._workspaces)
- this._workspaces.beginApplicationWindowSelection(appid);
+ this._workspaces.setApplicationWindowSelection(appid);
},
//// Private methods ////
diff --git a/js/ui/workspaces.js b/js/ui/workspaces.js
index a770747..5bd33a9 100644
--- a/js/ui/workspaces.js
+++ b/js/ui/workspaces.js
@@ -1081,8 +1081,6 @@ Workspaces.prototype = {
_init : function(width, height, x, y) {
this.actor = new Clutter.Group();
- this._appIdFilter = null;
-
this._width = width;
this._height = height;
this._x = x;
@@ -1158,7 +1156,8 @@ Workspaces.prototype = {
}
},
- beginApplicationWindowSelection: function (appId) {
+ // See comments in overview.js
+ setApplicationWindowSelection: function (appId) {
let appSys = Shell.AppMonitor.get_default();
let showOnlyWindows;
@@ -1171,7 +1170,6 @@ Workspaces.prototype = {
} else {
showOnlyWindows = null;
}
- this._appIdFilter = appId;
for (let i = 0; i < this._workspaces.length; i++) {
this._workspaces[i].setLightboxMode(showOnlyWindows != null);
this._workspaces[i].setShowOnlyWindows(showOnlyWindows);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]