aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2016-11-20 20:35:17 +0100
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2016-11-20 20:51:21 +0100
commit786dd890ccc5763e1ca3e97802c4974eab0e65cd (patch)
tree16154f964e0863a9090f47cc9af31b5319aa6ea4
parentscrolling: fix issues with the beacon (diff)
downloadterminology-786dd890ccc5763e1ca3e97802c4974eab0e65cd.tar.gz
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.
-rw-r--r--src/bin/termio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/termio.c b/src/bin/termio.c
index 2d57cef..404f305 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -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);