Copy email addresses without mailto: prefix
Fixes: https://bugs.launchpad.net/midori/+bug/358650
This commit is contained in:
parent
3eba817d50
commit
ddd660b45a
1 changed files with 4 additions and 1 deletions
|
@ -1981,6 +1981,9 @@ static void
|
|||
midori_web_view_menu_link_copy_activate_cb (GtkWidget* widget,
|
||||
MidoriView* view)
|
||||
{
|
||||
if (g_str_has_prefix (view->link_uri, "mailto:"))
|
||||
midori_web_view_set_clipboard (widget, view->link_uri + 7);
|
||||
else
|
||||
midori_web_view_set_clipboard (widget, view->link_uri);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue