Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
You cannot create objects in Extension.constructor() : https://wiki.gnome.org/Projects/GnomeShell/Extensions/Review#Only_use_.60init.28.29.60_for_initialization Move everything from constructor to enable. Also you should do these on disable: icon.destroy(); button.destroy(); icon = null; button = null; Also remove unused `text` variable. If you need any help with your extension you can ask us on: GNOME Matrix channel: https://matrix.to/#/#extensions:gnome.org IRC Bridge: irc://irc.gimpnet.org/shell-extensions
Thanks for review. I updated with fix