handle xpra:// urls on osx
|Reported by:||Antoine Martin||Owned by:||alas|
Follow up from #407.
Unfortunately gtk-osx does not wrap the openURL signal.
So we will need to implement this with the application delegate code..
This is all really ugly and does not fit well at all with the way the code is implemented at present: every other platform will give us the file or URL to open as soon as we start the process. Not so on OSX, where we need the event loop to be running before we can get this information using a signal, sigh.
r12380 worked around this for "open-file", it's ugly but it works.
"open-url" currently fires the launcher (as it lives in the same info.plist), maybe we can just hack this class further to launch the regular client with the URL. It's not going to be pretty.
Change History (6)
comment:3 Changed 7 months ago by
|Owner:||changed from Antoine Martin to alas|
|Status:||assigned → new|
comment:4 Changed 7 months ago by
|Owner:||changed from alas to Antoine Martin|