aboutsummaryrefslogtreecommitdiffstats
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
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().
-rw-r--r--ChangeLog7
-rw-r--r--src/ephy-main.c6
2 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 59693da6e..5d8f7be4c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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().
+
2004-12-17 Adam Hooper <adamh@cvs.gnome.org>
* src/ephy-main.c: (handle_url), (handle_email), (main):
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