[gnome-shell] Fix 'redeclaration of global' error in lookingGlass.js.
- From: Siegfried-Angel Gevatter Pujals <sgevatter src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-shell] Fix 'redeclaration of global' error in lookingGlass.js.
- Date: Tue, 4 Aug 2009 00:37:27 +0000 (UTC)
commit e84e842c1e6e9d35b0f5c2e915a11c32da707d60
Author: Siegfried-Angel Gevatter Pujals <rainct ubuntu com>
Date: Tue Aug 4 02:36:53 2009 +0200
Fix 'redeclaration of global' error in lookingGlass.js.
js/ui/lookingGlass.js | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js
index 337a519..085076a 100644
--- a/js/ui/lookingGlass.js
+++ b/js/ui/lookingGlass.js
@@ -175,7 +175,7 @@ LookingGlass.prototype = {
let global = Shell.Global.get();
this._idleHistorySaveId = 0;
- let historyPath = Shell.Global.get().configdir + "/lookingglass-history.txt";
+ let historyPath = global.configdir + "/lookingglass-history.txt";
this._historyFile = Gio.file_new_for_path(historyPath);
this._savedText = null;
this._historyNavIndex = -1;
@@ -241,7 +241,6 @@ LookingGlass.prototype = {
this._hierarchy.setTarget(target);
eventHandler.destroy();
this.actor.show();
- let global = Shell.Global.get();
global.stage.set_key_focus(this._entry);
return true;
}));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]