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:
parent
dddad9e1b5
commit
913aeae166
@ -399,16 +399,16 @@ Overview.prototype = {
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* beginApplicationWindowSelection:
|
* setApplicationWindowSelection:
|
||||||
* @appid: Application identifier string
|
* @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
|
* given application, and allow highlighting of a specific
|
||||||
* window with setHighlightWindow().
|
* window with setHighlightWindow().
|
||||||
*/
|
*/
|
||||||
beginApplicationWindowSelection: function (appid) {
|
setApplicationWindowSelection: function (appid) {
|
||||||
if (this._workspaces)
|
if (this._workspaces)
|
||||||
this._workspaces.beginApplicationWindowSelection(appid);
|
this._workspaces.setApplicationWindowSelection(appid);
|
||||||
},
|
},
|
||||||
|
|
||||||
//// Private methods ////
|
//// Private methods ////
|
||||||
|
@ -1081,8 +1081,6 @@ Workspaces.prototype = {
|
|||||||
_init : function(width, height, x, y) {
|
_init : function(width, height, x, y) {
|
||||||
this.actor = new Clutter.Group();
|
this.actor = new Clutter.Group();
|
||||||
|
|
||||||
this._appIdFilter = null;
|
|
||||||
|
|
||||||
this._width = width;
|
this._width = width;
|
||||||
this._height = height;
|
this._height = height;
|
||||||
this._x = x;
|
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 appSys = Shell.AppMonitor.get_default();
|
||||||
|
|
||||||
let showOnlyWindows;
|
let showOnlyWindows;
|
||||||
@ -1171,7 +1170,6 @@ Workspaces.prototype = {
|
|||||||
} else {
|
} else {
|
||||||
showOnlyWindows = null;
|
showOnlyWindows = null;
|
||||||
}
|
}
|
||||||
this._appIdFilter = appId;
|
|
||||||
for (let i = 0; i < this._workspaces.length; i++) {
|
for (let i = 0; i < this._workspaces.length; i++) {
|
||||||
this._workspaces[i].setLightboxMode(showOnlyWindows != null);
|
this._workspaces[i].setLightboxMode(showOnlyWindows != null);
|
||||||
this._workspaces[i].setShowOnlyWindows(showOnlyWindows);
|
this._workspaces[i].setShowOnlyWindows(showOnlyWindows);
|
||||||
|
Loading…
Reference in New Issue
Block a user