diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-12-18 05:49:55 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-12-18 05:49:55 +0800 |
commit | e29c799473dc8edf629c92b27c0a8d1c18ce8035 (patch) | |
tree | 07844da3865c6aed11c63189d3e7c6440415652f | |
parent | 13c8b7335b1aacf79bb4f1e735f6b88bd8dd6e08 (diff) | |
download | gsoc2013-epiphany-e29c799473dc8edf629c92b27c0a8d1c18ce8035.tar gsoc2013-epiphany-e29c799473dc8edf629c92b27c0a8d1c18ce8035.tar.gz gsoc2013-epiphany-e29c799473dc8edf629c92b27c0a8d1c18ce8035.tar.bz2 gsoc2013-epiphany-e29c799473dc8edf629c92b27c0a8d1c18ce8035.tar.lz gsoc2013-epiphany-e29c799473dc8edf629c92b27c0a8d1c18ce8035.tar.xz 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-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/ephy-main.c | 6 |
2 files changed, 12 insertions, 1 deletions
@@ -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 |