@mdeslaur - I am a bit confused by your comment#18 above - the code in cc-sharing-panel.c is checking for the REMOTE_DESKTOP_SERVICE which is #define'd as "gnome-remote-desktop.service" so I don't think this is relevant since as far as I understand this bug is about the ssh.service vs ssh.socket.
I have also updated the patch to do the checks in parallel as suggested by Robert - this makes things a bit more complicated in handling the lifetime of the callback data and the nature of embedding the context for each within it but hopefully this isn't too ugly.
@mdeslaur - I am a bit confused by your comment#18 above - the code in cc-sharing-panel.c is checking for the REMOTE_ DESKTOP_ SERVICE which is #define'd as "gnome- remote- desktop. service" so I don't think this is relevant since as far as I understand this bug is about the ssh.service vs ssh.socket.
I have also updated the patch to do the checks in parallel as suggested by Robert - this makes things a bit more complicated in handling the lifetime of the callback data and the nature of embedding the context for each within it but hopefully this isn't too ugly.
Let me know your thoughts.