diff options
author | Milan Crha <mcrha@redhat.com> | 2012-04-26 17:14:35 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-04-26 17:14:35 +0800 |
commit | 3eecc1b71241ef475cf3d9c7bd86aa9e585c59a7 (patch) | |
tree | 6d5155b2824090664ae548cb0fa1f567bae05f8a /widgets/misc | |
parent | b35df8f30c8e794a51136dd1abac287cff908a83 (diff) | |
download | gsoc2013-evolution-3eecc1b71241ef475cf3d9c7bd86aa9e585c59a7.tar.gz gsoc2013-evolution-3eecc1b71241ef475cf3d9c7bd86aa9e585c59a7.tar.zst gsoc2013-evolution-3eecc1b71241ef475cf3d9c7bd86aa9e585c59a7.zip |
Bug #674701 - Clicking address in preview composes to default account
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | widgets/misc/e-web-view.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/widgets/misc/e-web-view.c b/widgets/misc/e-web-view.c index c5b65337fb..dcf07dab04 100644 --- a/widgets/misc/e-web-view.c +++ b/widgets/misc/e-web-view.c @@ -1108,6 +1108,15 @@ web_view_link_clicked (EWebView *web_view, { gpointer parent; + if (uri && g_ascii_strncasecmp (uri, "mailto:", 7) == 0) { + gboolean handled = FALSE; + + g_signal_emit (web_view, signals[PROCESS_MAILTO], 0, uri, &handled); + + if (handled) + return; + } + parent = gtk_widget_get_toplevel (GTK_WIDGET (web_view)); parent = gtk_widget_is_toplevel (parent) ? parent : NULL; |