Rounded System Menu Buttons
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
Version | Status |
---|---|
20 | Active |
19 | Active |
18 | Rejected |
17 | Active |
16 | Inactive |
15 | Inactive |
14 | Inactive |
13 | Inactive |
12 | Inactive |
11 | Inactive |
10 | Inactive |
9 | Inactive |
8 | Inactive |
7 | Inactive |
6 | Inactive |
5 | Rejected |
4 | Inactive |
3 | Inactive |
2 | Inactive |
1 | Inactive |
You should remove `_syncLabel._resetHoverTimeoutId` in disable: https://gjs.guide/extensions/review-guidelines/review-guidelines.html#remove-main-loop-sources
Do you mean like this? ...................... /////////////// edited as per comments but unsure - START \\\\\\\\\\\\\\\\\\\\ if(this._resetHoverTimeoutId ) { GLib.Source.remove(this._resetHoverTimeoutId) }; /////////////// edited as per comments but unsure - END \\\\\\\\\\\\\\\\\\\\\\\ modifiedMenu = null; }
`this` doesn't refer to _syncLabel in disable(). You can create `_syncLabel._onDestroy()` and remove the timeout there. For example: https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/65450a836ee9e0722a2d4c3327f52345eae293c6/js/ui/altTab.js#L283
Thank you for your guidance, from line 146, the edited content from extension.js file is GLib.Source.set_name_by_id(this._resetHoverTimeoutId, '[gnome-shell] this._labelShowing'); } } this._onDestroy(); } _onDestroy() { if(this._resetHoverTimeoutID) { GLib.source_remove(this._resetHoverTimeoutID); this._resetHoverTimeoutID = null; } Main.notify('YUGAN TEJ'); } Are these two same? GLib.source_remove & Glib.Source.remove ?? Thanks
Please ignore above message. Thank you for your guidance, from line 146, the edited content from extension.js file is GLib.Source.set_name_by_id(this._resetHoverTimeoutId, '[gnome-shell] this._labelShowing'); } } this._onDestroy(); } _onDestroy() { if(this._resetHoverTimeoutID) { GLib.source_remove(this._resetHoverTimeoutID); this._resetHoverTimeoutID = null; } } Are these two same? GLib.source_remove & GLib.Source.remove ?? Thanks
Yes, GLib.source_remove and GLib.Source.remove are the same. 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