Open NPScript opened 7 months ago
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.
There is a problem in the current
blueberry-tray.py
that theTurn off Bluetooth
button does not change toTurn on Bluetooth
since the menu is only built once and never updated.This problem is resolved by moving the
set_menu
call into theupdate_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.