Skip to content
This repository has been archived by the owner on Oct 25, 2021. It is now read-only.

Menu items duplicate after disable() or destroy() #4

Open
juxuanu opened this issue Oct 18, 2020 · 2 comments
Open

Menu items duplicate after disable() or destroy() #4

juxuanu opened this issue Oct 18, 2020 · 2 comments

Comments

@juxuanu
Copy link
Owner

juxuanu commented Oct 18, 2020

Coming from suspend, lock, etc. Menus duplicate. I'm trying to fix it but I am pretty new to Gnome Extensions. If someone knows how to fix it, mention it here or PR.

@juxuanu juxuanu changed the title Menu items duplicate after disable() Menu items duplicate after disable() or destroy() Oct 18, 2020
@Thesola10
Copy link

I tried disabling the extension and the menu entries remain, which leads me to think that the extension doesn't destroy menu elements when it should, rather than outright "duplicating them".

@juxuanu
Copy link
Owner Author

juxuanu commented Feb 26, 2021

Yeah, it's a mess. I'll put some time in the future and implement a better version of this. My plans are to have a toggle for boost, a selector for scheduler and a battery charge threshold in the menu. No dependencies will be needed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants