[AppWell] Enable lightboxing immediately on popup

Rather than starting lightboxing only when the mouse enters the
menu, start it when an application filter is set.

Also delete a stale function in WindowClone from previous work.

http://bugzilla.gnome.org/show_bug.cgi?id=594555
This commit is contained in:
Colin Walters
2009-09-08 18:34:04 -04:00
parent a0df412deb
commit 05812ef7f9
3 changed files with 21 additions and 22 deletions

View File

@ -397,16 +397,18 @@ Overview.prototype = {
this._workspaces.setHighlightWindow(metaWindow);
},
/**
* setWindowApplicationFilter:
* @id: A string application identifier
* beginApplicationWindowSelection:
* @appid: Application identifier string
*
* Hide all windows which are not owned by the application
* identified by @id.
* Enter a mode which shows only the widnows owned by the
* given application, and allow highlighting of a specific
* window with setHighlightWindow().
*/
setWindowApplicationFilter: function (id) {
beginApplicationWindowSelection: function (appid) {
if (this._workspaces)
this._workspaces.setWindowApplicationFilter(id);
this._workspaces.beginApplicationWindowSelection(appid);
},
//// Private methods ////