Change Summary:
handle deleting notifications in a sane way.
Testing Done: |
|
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
Commits: |
|
|||||||||
Diff: |
Revision 2 (+3410 -1132) |
Review Request #1613 — Created Aug. 21, 2022 and submitted
This replaces the old internal representation of authorization requests as well as the UI's implementation of their own objects. Everything is now controlled via PurpleAuthorizationRequest and the UI's display the notification for interaction.
Verified the notification and actions work in both finch and pidgin.
Summary | ID |
---|---|
4d84dcc4316008256e8d8411b10c5a3508167a61 |
Description | From | Last Updated |
---|---|---|
s/the // |
QuLogic | |
Fits in one line? |
QuLogic | |
Not sure we need G_PARAM_CONSTRUCT for this and the remaining properties, as we don't use the constructed vfunc. |
QuLogic | |
So formerly, you could hit the X on the minidialog to ignore requests, and they'd just come back the next … |
QuLogic | |
Doesn't look like you ref'd authorization_request in here, so it should be marked as a transfer full argument (or should … |
QuLogic | |
destroy |
QuLogic | |
But message is not NULL? |
QuLogic | |
Align |
QuLogic |
handle deleting notifications in a sane way.
Testing Done: |
|
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
Commits: |
|
|||||||||
Diff: |
Revision 2 (+3410 -1132) |
libpurple/purpleauthorizationrequest.c (Diff revision 2) |
---|
Not sure we need
G_PARAM_CONSTRUCT
for this and the remaining properties, as we don't use theconstructed
vfunc.
libpurple/purplenotification.c (Diff revision 2) |
---|
So formerly, you could hit the X on the minidialog to ignore requests, and they'd just come back the next time you'd login.
I'm not sure if we want to keep that behaviour or not. It's certainly going to be easier to look at notifications now in this dialog that you probably won't accidentally close instead of hitting left or right.
libpurple/purplenotification.c (Diff revision 2) |
---|
Doesn't look like you ref'd
authorization_request
in here, so it should be marked as atransfer full
argument (or should be ref'd (and then unref'd in all callers)).
address issues.
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 3 (+3410 -1132) |
remove the signal callback to deny a auth request when it is deleted.
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 4 (+3380 -1132) |