From 44cc42484fc62d73739e4686af5768fe8a2270ae Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Fri, 18 Dec 2009 17:35:06 -0500 Subject: [PATCH] [appDisplay] Switch to using global.get_current_time() Main.currentTime() moved into ShellGlobal. --- js/ui/appDisplay.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js index e7c372a78..fbe096a1b 100644 --- a/js/ui/appDisplay.js +++ b/js/ui/appDisplay.js @@ -492,7 +492,7 @@ AppWellIcon.prototype = { activateMostRecentWindow: function () { let mostRecentWindow = this.app.get_windows()[0]; - Main.overview.activateWindow(mostRecentWindow, Main.currentTime()); + Main.overview.activateWindow(mostRecentWindow, global.get_current_time()); }, highlightWindow: function(metaWindow) { @@ -504,7 +504,7 @@ AppWellIcon.prototype = { activateWindow: function(metaWindow) { if (metaWindow) { this._didActivateWindow = true; - Main.overview.activateWindow(metaWindow, Main.currentTime()); + Main.overview.activateWindow(metaWindow, global.get_current_time()); } else Main.overview.hide(); },