summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2015-03-18 18:21:23 +0100
committerBoris Faure <billiob@gmail.com>2015-03-18 18:21:23 +0100
commit0895a1e608b55e34826cf64715479f8261a1c28b (patch)
tree35ee403957bfa9507aeb87f83362bd4ef527abab /src
parent144053f882053cb755144b8d2c1a1a76cc0e5607 (diff)
should set "hand2" cursor on links but doesn't work
Diffstat (limited to 'src')
-rw-r--r--src/bin/termio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/termio.c b/src/bin/termio.c
index 64e4f44..dc5c2dd 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -1156,9 +1156,9 @@ _update_link(Evas_Object *obj, Termio *sd,
1156 } 1156 }
1157 for (y = sd->link.y1; y <= sd->link.y2; y++) 1157 for (y = sd->link.y1; y <= sd->link.y2; y++)
1158 { 1158 {
1159 o = edje_object_add(evas_object_evas_get(obj)); 1159 o = elm_layout_add(obj);
1160 evas_object_smart_member_add(o, obj); 1160 evas_object_smart_member_add(o, obj);
1161 theme_apply(o, sd->config, "terminology/link"); 1161 theme_apply(elm_layout_edje_get(o), sd->config, "terminology/link");
1162 1162
1163 if (y == sd->link.y1) 1163 if (y == sd->link.y1)
1164 { 1164 {
@@ -1188,6 +1188,7 @@ _update_link(Evas_Object *obj, Termio *sd,
1188 } 1188 }
1189 1189
1190 sd->link.objs = eina_list_append(sd->link.objs, o); 1190 sd->link.objs = eina_list_append(sd->link.objs, o);
1191 elm_object_cursor_set(o, "hand2");
1191 evas_object_show(o); 1192 evas_object_show(o);
1192 evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN, 1193 evas_object_event_callback_add(o, EVAS_CALLBACK_MOUSE_DOWN,
1193 _cb_link_down, obj); 1194 _cb_link_down, obj);