aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/termiolink.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2013-06-15 23:37:10 +0200
committerBoris Faure <billiob@gmail.com>2013-06-15 23:37:10 +0200
commit6d8c81050e28234440b3fd1e5793af2e0f8c738f (patch)
tree6e8da243f87c8a7d24246e67e031875f379b6293 /src/bin/termiolink.c
parentuse dbus to tell e.TeamWork whenever a link is detected (diff)
downloadterminology-6d8c81050e28234440b3fd1e5793af2e0f8c738f.tar.gz
change dbus link_detect to mousein/out
Diffstat (limited to 'src/bin/termiolink.c')
-rw-r--r--src/bin/termiolink.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/bin/termiolink.c b/src/bin/termiolink.c
index f7255e5..d624e06 100644
--- a/src/bin/termiolink.c
+++ b/src/bin/termiolink.c
@@ -205,10 +205,10 @@ _termio_link_find(Evas_Object *obj, int cx, int cy,
if ((len > 1) && (!endmatch))
{
Eina_Bool is_file = _is_file(s);
- Eina_Bool is_url = link_is_url(s);
+
if (is_file ||
link_is_email(s) ||
- is_url)
+ link_is_url(s))
{
if (x1r) *x1r = x1;
if (y1r) *y1r = y1;
@@ -221,10 +221,6 @@ _termio_link_find(Evas_Object *obj, int cx, int cy,
free(s);
return ret;
}
- else if (is_url)
- {
- ty_dbus_link_detect(s);
- }
return s;
}