Replace the account-actions-changed signal with an actions-changed signal on PurpleProtocolActions
Review Request #2168 — Created Jan. 3, 2023 and submitted
We also propagate the PurpleProtocolActions::actions-changed signal from the PurpleProtocolManager::account-actions-changed signal if the protocol implements the PurpleProtocolActions interface.
Build the docs and ran the unit tests.
I also put a temporary action in the demo protocol plugin and called
purple_protocol_actions_changed
after the demo protocol connected. I will have another pull request that makes this a permenent action, but I want to convert the demo protocol plugin to subclass PurpleConnection before doing so as that will be accounting of everything much easier.
- Change Summary:
-
make this depend on 2172 as we need that to land so we can finish this.
- Change Summary:
-
rebase and disconnect the signal when a protocol is unregistered
- Commits:
-
Summary ID dc1c8ebae2808b6f69c8c78cb06c0ad7d06044f3 3e071cfa488fc58624512c75f5169b81c27316d0