Skip to content

[WIP] Update Menu on Status Update#139

Open
NPScript wants to merge 2 commits intolinuxmint:masterfrom
NPScript:master
Open

[WIP] Update Menu on Status Update#139
NPScript wants to merge 2 commits intolinuxmint:masterfrom
NPScript:master

Conversation

@NPScript
Copy link

There is a problem in the current blueberry-tray.py that the Turn off Bluetooth button does not change to Turn on Bluetooth
since the menu is only built once and never updated.

This problem is resolved by moving the set_menu call into the update_icon_callback. With this the menu will always be updated when the Bluetooth status changes.

I also merged the following patch into my branch: libappindicator-patch.

This will allow blueberry-tray to also run under Wayland.

@clefebvre clefebvre changed the title Update Menu on Status Update [WIP] Update Menu on Status Update Jun 5, 2024
@clefebvre
Copy link
Member

I'm not against this, but it's malformed.. you've mixed in more than the fix in this PR.

I see code cleanup, the fix itself and a move to AppIndicator.

I'm interested in knowing who still uses blueberry, with what version of GNOME BT, and whether it's in Wayland or Xorg.

Come and chat with us on Matrix if you get a chance: https://matrix.to/#/#xapp:matrix.org

Blueberry is no longer used in Mint but if other people use it we can revive this project and see how to maintain it going forward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments