From e29c799473dc8edf629c92b27c0a8d1c18ce8035 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Fri, 17 Dec 2004 21:49:55 +0000 Subject: Fix email links by prepending mailto: before calling gnome_vfs_url_show(). 2004-12-17 Christian Persch * src/ephy-main.c: (handle_email): Fix email links by prepending mailto: before calling gnome_vfs_url_show(). --- src/ephy-main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/ephy-main.c b/src/ephy-main.c index 49bc8f998..2a02abc81 100644 --- a/src/ephy-main.c +++ b/src/ephy-main.c @@ -85,7 +85,11 @@ handle_email (GtkAboutDialog *about, const char *link, gpointer data) { - gnome_vfs_url_show (link); + char *address; + + address = g_strdup_printf ("mailto:%s\n", link); + gnome_vfs_url_show (address); + g_free (address); } static void -- cgit v1.2.3