I figured out the problem, and it should work for multiple accounts.
A new notification object is created for each notification window, and each one connects to the ActionInvoked signal. I found out that all the notifications objects were having their actions invoked, but they could keep track of an ID returned by the Notify method to make sure they only respond to actions on their window.
The code is still probably missing a close connection on this signal after the pop up disappears. Otherwise all these closed notifications wouldn't have having an affect.
I am not sure if this patch is in the right format. I haven't submitted patches to this project before, so let me know what the procedure is for submitting commits/patches.
I figured out the problem, and it should work for multiple accounts.
A new notification object is created for each notification window, and each one connects to the ActionInvoked signal. I found out that all the notifications objects were having their actions invoked, but they could keep track of an ID returned by the Notify method to make sure they only respond to actions on their window.
The code is still probably missing a close connection on this signal after the pop up disappears. Otherwise all these closed notifications wouldn't have having an affect.
I am not sure if this patch is in the right format. I haven't submitted patches to this project before, so let me know what the procedure is for submitting commits/patches.