From d17d99bd6d4eac8a899bdecb09f91e755097afb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 9 Feb 2019 04:56:58 +0100 Subject: [PATCH] lookingGlass: Include St in default imports instead of Gtk Until commit 467b7c1bcacebdc, the import used to leak into the eval() environment, but not anymore. Add it back (and remove Gtk, as it's not *that* useful). https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/398 --- js/ui/lookingGlass.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js index e839ad75e..920a24347 100644 --- a/js/ui/lookingGlass.js +++ b/js/ui/lookingGlass.js @@ -17,7 +17,7 @@ const JsParse = imports.misc.jsParse; const CHEVRON = '>>> '; /* Imports...feel free to add here as needed */ -var commandHeader = 'const { Clutter, Gio, GLib, GObject, Gtk, Meta, Shell } = imports.gi; ' + +var commandHeader = 'const { Clutter, Gio, GLib, GObject, Meta, Shell, St } = imports.gi; ' + 'const Main = imports.ui.main; ' + 'const Mainloop = imports.mainloop; ' + 'const Tweener = imports.ui.tweener; ' +