Re: [Evolution-hackers] Mailing lista actions bounty patch



On Tue, 2 Dec 2003 02:17:15 +0100
Jorge Bernal (Koke) <koke sindominio net> wrote:

> 
> I don't send a patch because I have to clean it a bit more and improve some
> things but check this:
> 
> static void
> emp_load_url_from_header (CamelMedium *msg, char *header)
> {
>         char *url, *head, *tail;

Oops, forget this piece of code, it's improved:

static void
emp_load_url_from_header (EMPopupTarget *t, char *header)
{
        char *url;

        if ((url = (char *)camel_url_get_param(t->data.uri, header)) == NULL)
                return; 

        if (!strncmp (url, "mailto:";, 7)) {
                em_utils_compose_new_message_with_mailto (url);
        } else {
                gnome_url_show (url, NULL);
        }       
        g_free(url);
}


-- 
"Dios es real, a no ser que sea declarado como entero"

Jorge Bernal "Koke" http://sindominio.net/~koke/
Jabber-ID: koke zgzjabber ath cx
<koke sindominio net> || <kokecillo eresmas com>
.: www.augustux.org   ::	pulsar.gotdns.org	 :.

Attachment: pgpvJDgs5bUzI.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]