mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +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
|
|
@ -8,7 +8,7 @@ import './environment.js';
|
|||
imports._promiseNative.setMainLoopHook(() => {
|
||||
// Queue starting the shell
|
||||
GLib.idle_add(GLib.PRIORITY_DEFAULT, () => {
|
||||
imports.ui.main.start().catch(e => {
|
||||
import('./main.js').then(main => main.start()).catch(e => {
|
||||
const error = new GLib.Error(
|
||||
Gio.IOErrorEnum, Gio.IOErrorEnum.FAILED,
|
||||
e.message);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue