aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-12-18 05:49:55 +0800
committerChristian Persch <chpe@src.gnome.org>2004-12-18 05:49:55 +0800
commite29c799473dc8edf629c92b27c0a8d1c18ce8035 (patch)
tree07844da3865c6aed11c63189d3e7c6440415652f /src
parent13c8b7335b1aacf79bb4f1e735f6b88bd8dd6e08 (diff)
downloadgsoc2013-epiphany-e29c799473dc8edf629c92b27c0a8d1c18ce8035.tar.gz
gsoc2013-epiphany-e29c799473dc8edf629c92b27c0a8d1c18ce8035.tar.zst
gsoc2013-epiphany-e29c799473dc8edf629c92b27c0a8d1c18ce8035.zip
Fix email links by prepending mailto: before calling gnome_vfs_url_show().
2004-12-17 Christian Persch <chpe@cvs.gnome.org> * src/ephy-main.c: (handle_email): Fix email links by prepending mailto: before calling gnome_vfs_url_show().
Diffstat (limited to 'src')
-rw-r--r--src/ephy-main.c6
1 files changed, 5 insertions, 1 deletions
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