forked from enlightenment/efl
elementary/popup - fix the popup that returned invalid action buttons
SVN revision: 81117
This commit is contained in:
parent
628bd07534
commit
e257f49885
|
@ -814,3 +814,7 @@
|
||||||
2012-12-14 Jiyoun Park
|
2012-12-14 Jiyoun Park
|
||||||
|
|
||||||
* Fix naviframe's resize object problem when item was deleted.
|
* Fix naviframe's resize object problem when item was deleted.
|
||||||
|
|
||||||
|
2012-12-17 Chueon Park (Hermet)
|
||||||
|
|
||||||
|
* Fix the popup that returned invalid action buttons.
|
||||||
|
|
|
@ -93,6 +93,7 @@ Fixes:
|
||||||
* Update mapbuf forcely whenever it's states are changed.
|
* Update mapbuf forcely whenever it's states are changed.
|
||||||
* Now, dummy object is always smart member of naviframe.
|
* Now, dummy object is always smart member of naviframe.
|
||||||
* Fix naviframe's resize object problem when item was deleted.
|
* Fix naviframe's resize object problem when item was deleted.
|
||||||
|
* Fix the popup that returned invalid action buttons.
|
||||||
|
|
||||||
Removals:
|
Removals:
|
||||||
|
|
||||||
|
|
|
@ -1111,14 +1111,13 @@ static Evas_Object *
|
||||||
_action_button_get(const Evas_Object *obj,
|
_action_button_get(const Evas_Object *obj,
|
||||||
unsigned int idx)
|
unsigned int idx)
|
||||||
{
|
{
|
||||||
unsigned int num = idx - 1;
|
|
||||||
Evas_Object *button = NULL;
|
Evas_Object *button = NULL;
|
||||||
|
|
||||||
ELM_POPUP_DATA_GET(obj, sd);
|
ELM_POPUP_DATA_GET(obj, sd);
|
||||||
if (!sd->button_count) return NULL;
|
if (!sd->button_count) return NULL;
|
||||||
|
|
||||||
if (sd->buttons[num])
|
if (sd->buttons[idx])
|
||||||
button = sd->buttons[num]->btn;
|
button = sd->buttons[idx]->btn;
|
||||||
|
|
||||||
return button;
|
return button;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue