17 lines
457 B
JavaScript
17 lines
457 B
JavaScript
|
/* -*- mode: js2; js2-basic-offset: 4; indent-tabs-mode: nil -*- */
|
||
|
|
||
|
const Clutter = imports.gi.Clutter;
|
||
|
const GLib = imports.gi.GLib;
|
||
|
const Nbtk = imports.gi.Nbtk;
|
||
|
|
||
|
const Environment = imports.ui.environment;
|
||
|
|
||
|
function init() {
|
||
|
Clutter.init(null, null);
|
||
|
Environment.init();
|
||
|
|
||
|
let style = Nbtk.Style.get_default();
|
||
|
let stylesheetPath = GLib.getenv("GNOME_SHELL_TESTSDIR") + "/testcommon/test.css";
|
||
|
style.load_from_file(stylesheetPath);
|
||
|
}
|