Fix 'redeclaration of global' error in lookingGlass.js.
This commit is contained in:
parent
0792f8d4a3
commit
e84e842c1e
@ -175,7 +175,7 @@ LookingGlass.prototype = {
|
|||||||
let global = Shell.Global.get();
|
let global = Shell.Global.get();
|
||||||
|
|
||||||
this._idleHistorySaveId = 0;
|
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._historyFile = Gio.file_new_for_path(historyPath);
|
||||||
this._savedText = null;
|
this._savedText = null;
|
||||||
this._historyNavIndex = -1;
|
this._historyNavIndex = -1;
|
||||||
@ -241,7 +241,6 @@ LookingGlass.prototype = {
|
|||||||
this._hierarchy.setTarget(target);
|
this._hierarchy.setTarget(target);
|
||||||
eventHandler.destroy();
|
eventHandler.destroy();
|
||||||
this.actor.show();
|
this.actor.show();
|
||||||
let global = Shell.Global.get();
|
|
||||||
global.stage.set_key_focus(this._entry);
|
global.stage.set_key_focus(this._entry);
|
||||||
return true;
|
return true;
|
||||||
}));
|
}));
|
||||||
|
Loading…
Reference in New Issue
Block a user