Assume selections containing :// are links of some kind

This commit is contained in:
Christian Dywan 2009-10-28 22:55:18 +01:00
parent f955da564b
commit 9c9165c3f9

View file

@ -1871,7 +1871,7 @@ webkit_web_view_populate_popup_cb (WebKitWebView* web_view,
g_strstrip (view->selected_text);
if (view->selected_text && !strchr (view->selected_text, ' ')
&& strchr (view->selected_text, '.'))
&& (strchr (view->selected_text, '.') || g_strstr_len (view->selected_text, 9, "://")))
{
if (strchr (view->selected_text, '@'))
{