On Wed, Apr 1, 2009 at 2:36 PM, Saurabh Nanda <saurabhna...@gmail.com> wrote:
> Hi,
>
> I'm a newbie who's trying to write a plugin for Evolution. Please pardon my
> ignorance if my question sounds too simplistic. I've spent hours with the
> Camel documentation, but have not been able to figure this out for myself.
>
> Given the UID [1] what is the easiest way to get a reference to the
> CamelMimeMessage object representing the message? There is a function called
> camel_folder_get_message, but it requires a CamelFolder object as one of the
> arguments. If this is what I need to use, how do I get hold of the
> CamelFolder where the message resides?

your eplugin should hook onto
"org.gnome.evolution.mail.folderview.popup" . Your callback would get
a data pointer of type  EMPopupTargetSelect (say  EMPopupTargetSelect
*target). target->folder is the pointer to the CamelFolder you need.

HTH,
Partha

>
> [1] I'm assuming UID is the value of the Message-ID header
>
> Thanks,
> Saurabh.
> --
> http://nandz.blogspot.com
> http://foodieforlife.blogspot.com
>
> _______________________________________________
> Evolution-hackers mailing list
> Evolution-hackers@gnome.org
> http://mail.gnome.org/mailman/listinfo/evolution-hackers
>
>



-- 
____________________________

Parthasarathi Susarla
____________________________
Where i'm going, I don't need a road.
____________________________
____________________________
_______________________________________________
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers

Reply via email to