From 37692513cf9dddde1f4d9d4b6071c6eebf935bcb Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 6 May 2010 12:15:08 -0400 Subject: [PATCH] [altTab] Update for renamed ShellApp method --- js/ui/altTab.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/ui/altTab.js b/js/ui/altTab.js index 654068d40..eeeedc89e 100644 --- a/js/ui/altTab.js +++ b/js/ui/altTab.js @@ -291,7 +291,7 @@ AltTabPopup.prototype = { let appIcon = this._appIcons[n]; let windowIndex = (n == this._currentApp) ? this._currentWindow : 0; 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(); }, @@ -304,7 +304,7 @@ AltTabPopup.prototype = { _windowActivated : function(thumbnailList, n) { let appIcon = this._appIcons[this._currentApp]; - appIcon.app.focus_window(appIcon.cachedWindows[n]); + appIcon.app.activate_window(appIcon.cachedWindows[n]); this.destroy(); }, @@ -332,7 +332,7 @@ AltTabPopup.prototype = { _finish : function() { let appIcon = this._appIcons[this._currentApp]; 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(); },