Re: Invoke "Quick Event" from external application via parameter or DBus?
- From: Jim Nelson <jim yorba org>
- To: Manuel Kehl <mank319 zoho com>
- Cc: california-list gnome org
- Subject: Re: Invoke "Quick Event" from external application via parameter or DBus?
- Date: Mon, 20 Oct 2014 10:33:02 -0700
I don't believe there's anything like an index value for EDS. Probably the best thing to do is return the VEVENT's UID and let the calling application look it up from EDS if they like.
It would also make sense to notify the user that the event has been created with some details of the event in the notification.
There's an open question of what to do when the Quick Add text doesn't sufficiently describe the event. Currently California will display the event editor for the user to complete filling in the details. If you have any suggestions, please add them to the ticket.
I'd also like to hear (from you and others) use cases for this feature. I'm always wary of coding a solution in search of a problem.
-- Jim
On Fri, Oct 10, 2014 at 3:07 PM, Manuel Kehl <mank319 zoho com> wrote:
To be honest I have shared the idea in the very moment it came to my mind, so I have not yet made my mind up about details.
I am not even sure if a return value is of necessity, especially for an early implementation. For me as a user a simple libnotify message with the event details would be sufficient for having a quick glance and checking if it has been interpreted correctly. It may contain an "Edit" button for opening the event editing dialog.
What do you think about that approach?
California uses EDS as storage backend, right? I have no knowledge in that field, but guess that EDS somehow indexes its data sets. Maybe a simple index to the resulting EDS entry would be fine, so developers can query EDS themselves, if they really need access to the underlying data.
Manu
On Fr, Okt 10, 2014 at 9:55 , Jim Nelson <jim yorba org> wrote:
I would like to write a plugin for the "Kupfer" command launcher to add an event to California via the "Quick Event Syntax". Is there a way to pass such a string to california and maybe even get some sort of return value, like information about of how the string has been interpreted and the fields have been matched?
I am thinking of a command line parameter or some kind of DBus API call.
If not, I suppose that this would make a valuable addition, as the "Quick Event" functionality is imho predestined for being called by external applications.
I think that's a great idea. There's no such faculty today for this, but I could imagine a couple of ways to do it.
What kind of information were you thinking would be returned? Quick Add creates a pretty complicated data structure. What elements of it do you think should be returned, and in what format should they be returned?
-- Jim
[
Date Prev][
Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]