mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
js: Port to modules
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1499>
This commit is contained in:
parent
d9198317ae
commit
a751e213f6
162 changed files with 2183 additions and 2336 deletions
|
|
@ -5,8 +5,8 @@ import GLib from 'gi://GLib';
|
|||
import MetaTest from 'gi://MetaTest';
|
||||
import Shell from 'gi://Shell';
|
||||
|
||||
const Main = imports.ui.main;
|
||||
import * as Scripting from 'resource://org/gnome/shell/ui/scripting.js';
|
||||
import * as Main from 'resource:///org/gnome/shell/ui/main.js';
|
||||
import * as Scripting from 'resource:///org/gnome/shell/ui/scripting.js';
|
||||
|
||||
// This script tests that the shell handles connecting monitors after startup
|
||||
// is properly handled.
|
||||
|
|
@ -57,7 +57,6 @@ export async function run() {
|
|||
() => Scripting.scriptEvent('overviewShowDone'));
|
||||
Main.overview.connect('hidden',
|
||||
() => Scripting.scriptEvent('overviewHideDone'));
|
||||
|
||||
Main.overview.hide();
|
||||
await Scripting.waitLeisure();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue