From c34e064595a91cd8cb64527ab641ee363232ecae Mon Sep 17 00:00:00 2001 From: Hyoyoung Chang Date: Fri, 13 Jan 2012 23:45:53 +0000 Subject: [PATCH] From: Hyoyoung Chang Subject: [E-devel] [patch] elm_map - bugfix small errors Date: Mon, 9 Jan 2012 20:00:02 +0900 Dear all After run map menu in elementary_test, i found some minor errors 1. some passing data ptr is wrong at obj_rotate_zoom 2. clipped part isn't set by rect thanks SVN revision: 67190 --- data/themes/widgets/map.edc | 1 + src/lib/elm_map.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/data/themes/widgets/map.edc b/data/themes/widgets/map.edc index 9ee387c..c12fb21 100644 --- a/data/themes/widgets/map.edc +++ b/data/themes/widgets/map.edc @@ -672,6 +672,7 @@ group { name: "elm/map/marker_bubble/default"; } parts { part { name: "clipper"; + type: RECT; mouse_events: 1; description { state: "default" 0.0; color: 255 255 255 0; diff --git a/src/lib/elm_map.c b/src/lib/elm_map.c index 66d2cd0..a19b9b5 100644 --- a/src/lib/elm_map.c +++ b/src/lib/elm_map.c @@ -2369,12 +2369,12 @@ _group_bubble_place(Marker_Group *group) evas_object_move(group->bubble, xx, yy); evas_object_resize(group->bubble, ww, hh); - obj_rotate_zoom(group->wd, group->bubble); + obj_rotate_zoom(group->wd->obj, group->bubble); evas_object_show(group->bubble); evas_object_move(group->rect, xx, yy); evas_object_resize(group->rect, ww, hh); - obj_rotate_zoom(group->wd, group->rect); + obj_rotate_zoom(group->wd->obj, group->rect); evas_object_show(group->rect); } -- 2.7.4