Closed 314eter closed 1 year ago
Thank you very much for these changes
Very nice! May I ask if is this released in Gnome extensions site? I don't see the last version compatible with Gnome 45 here: https://extensions.gnome.org/extension/3991/bluetooth-battery/
Cheers!!
Resolves #69.
Signals
Signals.addSignalMethods()
doesn't work anymore in Gnome 45. The replacementSignals.EventEmitter
was added in Gnome 43. UsingconnectObject()
anddisconnectObject()
is easier than manually keeping track of the signal ids.Mainloop
The
Mainloop
module hasn't been recommended for a while, and can't be used anymore in Gnome 45.Imports
Gnome 45 moved to ESM imports.
ExtensionUtils
ExtensionUtils
was replaced byExtension
andExtensionPreferences
classes.Compatibility
These changes make the code incompatible with earlier Gnome version.