Re: Importing Contact(s) into particular catergory
"Martin Felis" <[email protected]>
| Newsgroups | gmane.comp.handhelds.gpe |
|---|---|
| Message-ID | <[email protected]> |
Silly spherical world! I have it implemented and works, except import of multiple categories, but that is a problem of libmimedir that I will tackle later. I have it not yet uploaded because: 1) I needed to add a function to libgpepimc: int gpe_pim_category_id (const gchar *title); This converts the category name to the id. Returns 0 if no id was found. Is basically the same as gchar *gpe_pim_category_name (gint id); but is just the other way round. 2) In libgpevtype, vevent.c there is a new function "vevent_from_event_t", which is kind of similar to "vevent_from_tags", but uses libgpeventdb. I think it would be better to have only one, to have exports and imports consistent. I don't really care which one to take. I have already a patch for gpesyncd to use the newer function but the categories do not yet work, but should be no bigger problem. If the world was a disc, I would have talked to you in irc but the *small* time difference makes it a bit hard for me to find somebody there and I didn't want to upload all the changes before asking you. Cheers, Martin