Tox URI scheme
More info at https://github.com/Tox/Tox-STS/blob/master/STS.md#tox-uri-scheme
We will need a way to signal a running gTox instance.. hmm
I think it should work the following way:
If client runs:
- IPC Signal to running client and close.
- Does GTK has a platform independent solution for this ?
- Running client adds Tox ID
- Running client keeps running
If client doesn't run:
- Start a client
- add Tox ID
- Keep running
If more than 1 client runs:
Same as "If client runs" but signal all running clients..
Also lets add this ?
http://www.tkalin.com/blog_posts/using-console-vim-as-vim-protocol-handler-in-ubuntu/
Will be possible to use "tox://
Gtk:Application is the solution, but
at the moment we use singletons.. means we would lose the ability to have multi-instances.
Which i don't care much of..
So when nobody is against it, I will remove the ability to start gTox more than once..
i dont see any problem with just one instance. if we really want a multi account feature we could think about implementing a real one.