Actually update well menu filtering for review messages

My updates got lost due to accidentally being on a rebase branch.
This commit is contained in:
Colin Walters 2009-09-09 17:28:52 -04:00
parent dddad9e1b5
commit 913aeae166
2 changed files with 6 additions and 8 deletions

View File

@ -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 ////

View File

@ -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);