[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 () { activateMostRecentWindow: function () {
let mostRecentWindow = this.app.get_windows()[0]; let mostRecentWindow = this.app.get_windows()[0];
Main.overview.activateWindow(mostRecentWindow, Main.currentTime()); Main.overview.activateWindow(mostRecentWindow, global.get_current_time());
}, },
highlightWindow: function(metaWindow) { highlightWindow: function(metaWindow) {
@ -504,7 +504,7 @@ AppWellIcon.prototype = {
activateWindow: function(metaWindow) { activateWindow: function(metaWindow) {
if (metaWindow) { if (metaWindow) {
this._didActivateWindow = true; this._didActivateWindow = true;
Main.overview.activateWindow(metaWindow, Main.currentTime()); Main.overview.activateWindow(metaWindow, global.get_current_time());
} else } else
Main.overview.hide(); Main.overview.hide();
}, },