10672597c2
ExtensionUtils' getCurrentExtension() method currently either returns the extension that was injected with setCurrentExtension(), or imports Main locally to access the extensionManager. But local imports won't work anymore when we convert to ESM, and setCurrentExtension() is only an option for prefs. Instead of diverging the code paths even further, we'll unify the two cases as much as possible. As a first step, add a basic extension manager in the Extensions D-Bus service that exposes the same lookup() API as the "real" extension manager. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2832> |
||
---|---|---|
.. | ||
css | ||
ui | ||
extensionPrefsDialog.js | ||
extensionsService.js | ||
main.js |