From 25fb574a76d6491cb03053222e5fa2fb646be645 Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Thu, 15 Mar 2012 04:03:16 +0000 Subject: [PATCH] elm entry: Added blank lines for readability. Signed-off-by: Daniel Juyung Seo SVN revision: 69351 --- legacy/elementary/src/lib/elm_entry.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/legacy/elementary/src/lib/elm_entry.c b/legacy/elementary/src/lib/elm_entry.c index 0a2343d95b..8f06752bd5 100644 --- a/legacy/elementary/src/lib/elm_entry.c +++ b/legacy/elementary/src/lib/elm_entry.c @@ -3830,19 +3830,24 @@ _entry_hover_anchor_clicked(void *data, Evas_Object *obj, void *event_info) Elm_Entry_Anchor_Hover_Info ei; Evas_Coord x, w, y, h, px, py; if (!wd) return; + ei.anchor_info = event_info; + wd->anchor_hover.pop = elm_icon_add(obj); evas_object_move(wd->anchor_hover.pop, info->x, info->y); evas_object_resize(wd->anchor_hover.pop, info->w, info->h); + wd->anchor_hover.hover = elm_hover_add(obj); elm_widget_mirrored_set(wd->anchor_hover.hover, elm_widget_mirrored_get(obj)); if (wd->anchor_hover.hover_style) elm_object_style_set(wd->anchor_hover.hover, wd->anchor_hover.hover_style); + hover_parent = wd->anchor_hover.hover_parent; if (!hover_parent) hover_parent = obj; elm_hover_parent_set(wd->anchor_hover.hover, hover_parent); elm_hover_target_set(wd->anchor_hover.hover, wd->anchor_hover.pop); ei.hover = wd->anchor_hover.hover; + evas_object_geometry_get(hover_parent, &x, &y, &w, &h); ei.hover_parent.x = x; ei.hover_parent.y = y; @@ -3886,4 +3891,3 @@ _entry_hover_anchor_clicked(void *data, Evas_Object *obj, void *event_info) } } /* END - ANCHOR HOVER */ -