[appDisplay] Switch to using global.get_current_time()

Main.currentTime() moved into ShellGlobal.
This commit is contained in:
Colin Walters 2009-12-18 17:35:06 -05:00
parent 44712c274e
commit 44cc42484f

View File

@ -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();
},