Re: [Evolution-hackers] Streamlining e-text.c & e-cell-text.c

2006-08-01 Thread Andre Klapper
hi makuchaku,

Am Montag, den 10.07.2006, 17:42 +0530 schrieb Mayank Jain:
> I've tried making the new implementation of layout_with_preedit
> (widgets/table/e-cell-text.c)
> 
> The new code - http://makuchaku.pastebin.ca/84013
> Old code - http://makuchaku.pastebin.ca/84015
> 
> It builds fine & works as expected (i did a brief testing).
> 
> I would request the calendar developers to kindly review the code & comment.

i don't know if there has been some progress (review) yet; if not,
please file a bug to bugzilla and attach the patch.

thanks,
andre

-- 
 mailto:[EMAIL PROTECTED] | failed!
 http://www.iomc.de


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] Recurrence woes

2006-08-01 Thread Scott Herscher
Hey all.  I'm pretty close to getting recurrent events working (I think), but 
Evolution doesn't seem to want to behave.

In the initial call to my backend's get_object_list, I return a list of 
stringized components from my cache.  This list has two items: one recurring 
event, and one detached event (I changed the time of of one the instances of 
the event).  When I fire up Evolution, it doesn't show the correct time for the 
detached event...it shows the time of the recurring event, not the detached 
event. I noticed that EDS is calling get_object, but it never calls get_object 
for the detached event.  In other words, when get_object is being called, the 
recurrence id is always nil...as if EDS doesn't realize there is a detached 
event.  However I've verified that I'm giving EDS the detached event in 
get_object_list.

Am I supposed to package the components up differently in get_object_list?  
It's the only thing I can think of, but I'm totally mystified as to how to 
change it.

As always...any help would be greatly appreciated.

Take care,

Scott
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] how to import contacts(vcard or ldif) in programme?

2006-08-01 Thread 黄冠能
Hey all.

I am new to Evolution. I want to write a script to import contacts(vcard
or ldif format) automaticly without opening Evolution. How can I do it?
Is there a *.so file that includes this function? If so, how do I know
the usage.

Many many thanks:)

Cameron Wong
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] Creating iCal components

2006-08-01 Thread Teresa Thomas
Hi I have a question regarding libical. Since you authored the documentation, I figured you would know!Suppose my iCal string contains multiple events ie, looks as follows:BEGIN:VCALENDAR...BEGIN:VEVENT
...END:VEVENTBEGIN:VEVENT...END:VEVENTEND:VCALENDARI'm using the icalcomponent* icalcomponent_new_from_string(char* str) function to parse it. According to the libical documentation "If the string contains multiple components, the multiple components
will be returned as the children of an ICAL_XROOT_COMPONENT component."What functions can I use to access these children vevent components? Code snippets would be great.Thanks!Regards,Teresa

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Creating iCal components

2006-08-01 Thread Teresa Thomas
Whoops! The above mail was supposed to be for the author of libical docs. But if anyone here knows the answer, then great! :)On 8/1/06, Teresa Thomas <
[EMAIL PROTECTED]> wrote:Hi 
I have a question regarding libical. Since you authored the documentation, I figured you would know!Suppose my iCal string contains multiple events ie, looks as follows:BEGIN:VCALENDAR...BEGIN:VEVENT
...END:VEVENTBEGIN:VEVENT...END:VEVENTEND:VCALENDARI'm using the icalcomponent* icalcomponent_new_from_string(char* str) function to parse it. According to the libical documentation "If the string contains multiple components, the multiple components
will be returned as the children of an ICAL_XROOT_COMPONENT component."What functions can I use to access these children vevent components? Code snippets would be great.Thanks!Regards,
Teresa



___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] Bug in evolution with recurring event exceptions?

2006-08-01 Thread Scott Herscher
I cannot get Evolution to correctly display recurring event exceptions.  At 
this point, I'd ordinarily think that it's a bug in Evolution, however 
Evolution correctly display recurring event exceptions using the built-in file 
backend.  I've taken the bits of code out of the file backend that I thought 
were applicable and grafted them into my backend but still no love.  Anyone 
have any thoughts?

Scott
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Creating iCal components

2006-08-01 Thread chenthill
Hi Teresa,
You can get all the sub-components which are embedded in a main
component by iterating through the main component,

* For getting all the subcomponents *
icalcomponent *subcomp;
icalcompiter iter;

/* icalcomp is the toplevel component */
iter = icalcomponent_begin_component (icalcomp, ICAL_ANY_COMPONENT); 
while ((subcomp = icalcompiter_deref (&iter)) != NULL) {
icalcomponent_kind child_kind = icalcomponent_isa (subcomp);
icalcompiter_next (&iter);
}

* For getting VEVENT sub-components alone*

subcomp = icalcomponent_get_first_component (icalcomp,
ICAL_VEVENT_COMPONENT) 
while (subcomp != NULL){

subcomp = icalcomponent_get_next_component (icalcomp,
ICAL_VEVENT_COMPONENT);
}


- Chenthill.
On Tue, 2006-08-01 at 23:51 -0400, Teresa Thomas wrote:
> Whoops! The above mail was supposed to be for the author of libical
> docs. But if anyone here knows the answer, then great! :)
> 
> On 8/1/06, Teresa Thomas < [EMAIL PROTECTED]> wrote:
> Hi 
> 
> I have a question regarding libical. Since you authored the
> documentation, I figured you would know!
> 
> Suppose my iCal string contains multiple events ie, looks as
> follows:
> BEGIN:VCALENDAR
> ...
> BEGIN:VEVENT 
> ...
> END:VEVENT
> BEGIN:VEVENT
> ...
> END:VEVENT
> END:VCALENDAR
> 
> I'm using the
> icalcomponent* icalcomponent_new_from_string(char* str)
> function to parse it. According to the libical documentation
> "If the string contains multiple components, the multiple
> components will be returned as the children of an
> ICAL_XROOT_COMPONENT component."
> 
> What functions can I use to access these children vevent
> components? Code snippets would be great.
> 
> Thanks!
> 
> Regards,
> 
> Teresa 
> 
> 
> 
> ___
> Evolution-hackers mailing list
> Evolution-hackers@gnome.org
> http://mail.gnome.org/mailman/listinfo/evolution-hackers

___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


Re: [Evolution-hackers] Recurrence woes

2006-08-01 Thread Jules Colding
On Tue, 2006-08-01 at 15:57 -0700, Scott Herscher wrote:
> Hey all.  I'm pretty close to getting recurrent events working (I
> think), but Evolution doesn't seem to want to behave.

Maybe this is something trivial like your get_static_capabilities()
implementation not returning the right capabilities for your backend??

HTH,
  jules


___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers