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.
Depends On: |
|
---|
-
-
libpurple/purpleprotocolactions.c (Diff revision 1) Do we need the
actions-
prefix since this is in an *Actions object? If so, then I think theChangeLog.API
needs updating. -
Change Summary:
rebase and disconnect the signal when a protocol is unregistered
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+346 -164) |
Change Summary:
Update ChangeLog.API
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 3 (+346 -164) |