forked from enlightenment/terminology
termio: dont show full/relative for emails or protocols
if there is a link like bu5hm4n@efl.so or http://enlightenment.org/ , then there is no need to show relative or absolut coping in the ctxpopup, just copy is enought.
This commit is contained in:
parent
c47b0c39d5
commit
786dd890cc
|
@ -999,7 +999,9 @@ _cb_link_down(void *data,
|
|||
if (len > 0 && raw_link[0] == '/')
|
||||
absolut = EINA_TRUE;
|
||||
|
||||
if (!absolut && !link_is_url(raw_link))
|
||||
if (!absolut &&
|
||||
!link_is_url(raw_link) &&
|
||||
!link_is_email(raw_link))
|
||||
{
|
||||
elm_ctxpopup_item_append(ctxp, _("Copy relative path"), NULL, _cb_ctxp_link_content_copy,
|
||||
sd->self);
|
||||
|
|
Loading…
Reference in New Issue