Review of "toggle xpad" version 1

Details Page Preview

An button on top bar for toggle Xpad note

Extension Homepage
https://github.com/phamthainb/toogle-xpad.git

No comments.

FAQ

Files

Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.

All Versions

Version Status
3 Active
2 Rejected
1 Rejected

Previous Reviews on this Version

ewlsh rejected
Welcome! In disable() you need to... toogleXpad.destroy() toggleXpad = null ...otherwise your extension will keep a reference to the old version even while disabled. You shouldn't need to call remove_child once destroyed. Prefer Main.panel.addToStatusArea (https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/master/js/ui/panel.js#L1110) over directly inserting into a box. Main.panel.addToStatusArea('xpad-toggle', toogleXpad, /* a positioning number */ 5); See https://wiki.gnome.org/Projects/GnomeShell/Extensions/Review