[gnome-shell] [appDisplay] Switch to using global.get_current_time()
- From: Colin Walters <walters src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-shell] [appDisplay] Switch to using global.get_current_time()
- Date: Fri, 18 Dec 2009 22:34:17 +0000 (UTC)
commit 44cc42484fc62d73739e4686af5768fe8a2270ae
Author: Colin Walters <walters verbum org>
Date: Fri Dec 18 17:35:06 2009 -0500
[appDisplay] Switch to using global.get_current_time()
Main.currentTime() moved into ShellGlobal.
js/ui/appDisplay.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index e7c372a..fbe096a 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();
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]