aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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