[gnome-shell] [altTab] Update for renamed ShellApp method



commit 37692513cf9dddde1f4d9d4b6071c6eebf935bcb
Author: Colin Walters <walters verbum org>
Date:   Thu May 6 12:15:08 2010 -0400

    [altTab] Update for renamed ShellApp method

 js/ui/altTab.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/altTab.js b/js/ui/altTab.js
index 654068d..eeeedc8 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();
     },
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]