[altTab] Update for renamed ShellApp method

This commit is contained in:
Colin Walters 2010-05-06 12:15:08 -04:00
parent 35bf6b0d36
commit 37692513cf

View File

@ -291,7 +291,7 @@ AltTabPopup.prototype = {
let appIcon = this._appIcons[n]; let appIcon = this._appIcons[n];
let windowIndex = (n == this._currentApp) ? this._currentWindow : 0; let windowIndex = (n == this._currentApp) ? this._currentWindow : 0;
let window = appIcon.cachedWindows[windowIndex]; let window = appIcon.cachedWindows[windowIndex];
appIcon.app.focus_window(window, global.get_current_time()); appIcon.app.activate_window(window, global.get_current_time());
this.destroy(); this.destroy();
}, },
@ -304,7 +304,7 @@ AltTabPopup.prototype = {
_windowActivated : function(thumbnailList, n) { _windowActivated : function(thumbnailList, n) {
let appIcon = this._appIcons[this._currentApp]; let appIcon = this._appIcons[this._currentApp];
appIcon.app.focus_window(appIcon.cachedWindows[n]); appIcon.app.activate_window(appIcon.cachedWindows[n]);
this.destroy(); this.destroy();
}, },
@ -332,7 +332,7 @@ AltTabPopup.prototype = {
_finish : function() { _finish : function() {
let appIcon = this._appIcons[this._currentApp]; let appIcon = this._appIcons[this._currentApp];
let window = appIcon.cachedWindows[this._currentWindow]; let window = appIcon.cachedWindows[this._currentWindow];
appIcon.app.focus_window(window, global.get_current_time()); appIcon.app.activate_window(window, global.get_current_time());
this.destroy(); this.destroy();
}, },