Re: [SailfishDevel] Lipstick and xdg-open

2015-10-23 Thread Tone Kastlunger
Wait wait; there is no need for a separate process to take care of the dbus call; that is taken care of by libcontentaction. So if your app exposes a DBus interface, you can use the X-Maemo-Service / X-Maemo-methods in a separate, specific .desktop file to specify which method should be used to ope

Re: [SailfishDevel] Lipstick and xdg-open

2015-10-23 Thread r0kk3rz
Thanks Guys, https://git.merproject.org/mer-core/libcontentaction/blob/master/src/doc.h This seems to have some information about how it all hooks together, and I can see that the sailfish-browser defines a separate .desktop file with a systemd/dbus service to handle its 'open url' action. https

Re: [SailfishDevel] Lipstick and xdg-open

2015-10-22 Thread Tone Kastlunger
It depends if your app is configured (via .desktop file) to be running as single instance or not; and that is related to the launcher (which is enforced on SFOS btw); see "How can I disable single-instance launching?" under https://harbour.jolla.com/faq). If

Re: [SailfishDevel] Lipstick and xdg-open

2015-10-22 Thread Andrey Kozhevnikov
9:41 Тема: [SailfishDevel] Lipstick and xdg-open Hi Developers, How does Lipstick handle xdg-open in cases when the app is already running? When the app isn't running, I can currently open a file through xdg-open, which opens the app and passes in the file url as a command line par

[SailfishDevel] Lipstick and xdg-open

2015-10-22 Thread r0kk3rz
Hi Developers, How does Lipstick handle xdg-open in cases when the app is already running? When the app isn't running, I can currently open a file through xdg-open, which opens the app and passes in the file url as a command line parameter. I expected that upon subsequent xdg-open calls, it woul