projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1463d5e
)
[controlbar] bug fix when clicked item be deleted
author
Jaehwan Kim
<jae.hwan.kim@samsung.com>
Thu, 4 Nov 2010 08:15:40 +0000
(17:15 +0900)
committer
Jaehwan Kim
<jae.hwan.kim@samsung.com>
Thu, 4 Nov 2010 08:15:40 +0000
(17:15 +0900)
src/lib/elm_controlbar.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_controlbar.c
b/src/lib/elm_controlbar.c
index
3c65c19
..
56ebf17
100644
(file)
--- a/
src/lib/elm_controlbar.c
+++ b/
src/lib/elm_controlbar.c
@@
-1382,12
+1382,14
@@
unpressed_box_cb(void *data, Evas *evas, Evas_Object *obj, void *event_info)
}
}
- evas_object_geometry_get(wd->pre_item->base, &x, &y, &w, &h);
- if(ev->output.x > x && ev->output.x < x+w && ev->output.y > y && ev->output.y < y+h)
+ if(item_exist_check(wd, wd->pre_item))
{
- selected_box(wd->pre_item);
+ evas_object_geometry_get(wd->pre_item->base, &x, &y, &w, &h);
+ if(ev->output.x > x && ev->output.x < x+w && ev->output.y > y && ev->output.y < y+h)
+ {
+ selected_box(wd->pre_item);
+ }
}
-
return;
}