gnome-shell/js
Florian Müllner 3e4fd4b67a extensions: Add Extension/Preferences base classes
Extensions now must export a class that conforms to a particular
interface both for the actual extension as well as for prefs:

enable()/disable() methods for the former, fillPreferencesWindow()
for the latter.

This is quite similar to the previous method-based entry points,
but it also gives us a more structured way of providing convenience
API in form of base classes.

Do that in form of Extension and ExtensionPreferences classes on
top of a common ExtensionBase base class.

getSettings(), initTranslations() and the gettext wrappers are
now methods of the common base, while openPreferences() moves
to the Extension class.

Based on an original suggestion from Evan Welsh.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2838>
2023-07-29 15:20:20 +03:00
..
dbusServices dbusServices/extensions: Include dir and path in metadata 2023-07-29 15:20:20 +03:00
extensions extensions: Add Extension/Preferences base classes 2023-07-29 15:20:20 +03:00
gdm animationUtils: Group together various animation helpers 2023-07-15 02:35:56 +00:00
misc extensionUtils: Split out extension convenience functions 2023-07-15 13:16:42 +02:00
portalHelper portalHelper: Port to ESM 2023-06-21 13:26:42 +02:00
ui extensionSystem: Include dir and path in data passed to extension 2023-07-29 15:20:20 +03:00
js-resources.gresource.xml status/camera: New indicator 2023-07-29 13:55:15 +03:00
meson.build
portal-resources.gresource.xml