DBus interface for meeting creation
dwmw2 at infradead.org
Tue Mar 13 14:37:53 UTC 2018
On Tue, 2018-03-13 at 13:38 +0000, Corentin Noël wrote:
> I wonder why is a D-Bus interface even required here. The simplest
> solution (and already working one) is to just pass an ical file to the
> calendar app with xdg-open.
Yeah... that might work. In fact Milan implemented that for Evolution
when I first started looking at it:
My concern was that I didn't want to just invoke Evolution — users
might be using something different. But of course doing it through
xdg-open resolves that.
The other reason for favouring D-Bus was that if nothing was set up, we
should just display simple text box to the user with the required
information, saying "cut and paste this into your calendar".
But as long as we either get a meaningful exit code from xdg-open, or
perhaps have a lowest-priority handler for it which invokes xmessage or
something nasty, I think that's OK too.
I don't see why it couldn't be done with passing ical files. I'll take
a look... thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5213 bytes
Desc: not available
More information about the xdg