[gnome-shell/wip/fmuellner/update-lg-imports: 3/3] lookingGlass: Include St in default imports instead of Gtk



commit d17d99bd6d4eac8a899bdecb09f91e755097afb9
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Feb 9 04:56:58 2019 +0100

    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; ' +


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]