arelange / gnome-shell-extension-hibernate-status

Gnome Shell extension that adds a hibernate/hybrid suspend button in Status menu.
GNU General Public License v2.0
155 stars 56 forks source link

Do not reset the button state when the menu opens. #24

Closed F-i-f closed 3 years ago

F-i-f commented 5 years ago

Before this patch, if you have hibernate disabled, the hibernate button shows up transiently whenever you open the system menu, only to disappear very quickly. This patch prevents the button dance, but still allows the button to appear or disappear if the hibernate status has changed (the state is changed by the callback and the button shows up or hides when the callback completes).

p91paul commented 3 years ago

Hi, I'm sorry for never having merged this. Would you still be intrested in fixing conflicts now? I could just perform the modification myself, but I would like to let you be in the contributors list.

p91paul commented 3 years ago

Github nicely let me resolve conflicts from the pull request, so now it's merged! Thank you!

F-i-f commented 3 years ago

Thanks for merging and keeping maintaining that useful extension.