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:
https://bugzilla.gnome.org/show_bug.cgi?id=787418
https://git.gnome.org/browse/evolution/commit/?id=59dad90040

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.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
xdg mailing list
xdg@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/xdg

Reply via email to