popup: fix title icon to show up.

Title icon of popup is not getting shown.
steps to reproduce:
1. elementary_test -to "popup"
2. click "popup bottom title + text + 3 buttons"

In the test popup example, the initial parent of icon is popup.
The title_icon is reset to null while adjusting elm parent from popup
to main_layout (elm_widget_sub_object_add which calls sub_object_del of popup)
on swallowing icon to main_layout.

Resolves: T2581
@fix
This commit is contained in:
Amitesh Singh 2015-07-18 14:58:25 +05:30
parent f9f9ae02a8
commit d702afd22f
1 changed files with 0 additions and 1 deletions

View File

@ -439,7 +439,6 @@ _elm_popup_elm_widget_sub_object_del(Eo *obj, Elm_Popup_Data *sd, Evas_Object *s
if (sobj == sd->title_icon)
{
elm_layout_signal_emit(sd->main_layout, "elm,state,title,icon,hidden", "elm");
sd->title_icon = NULL;
}
else if ((it =
evas_object_data_get(sobj, "_popup_icon_parent_item")) != NULL)