elementary/popup - only set the notify style if the notify is the parent of the popup

This commit is contained in:
ChunEon Park 2013-08-10 16:41:25 +09:00
parent 75b631f07e
commit bc13d70e5e
1 changed files with 5 additions and 0 deletions

View File

@ -325,6 +325,11 @@ _elm_popup_smart_theme(Eo *obj, void *_pd, va_list *list)
_mirrored_set(obj, elm_widget_mirrored_get(obj));
/* Since parent of the popup can be notify, we need to set to notify style
manually. */
if (elm_widget_parent_get(sd->notify) != obj)
eo_do(sd->notify, elm_wdg_style_set(elm_widget_style_get(obj), &ret));
if (sd->action_area)
{
snprintf(buf, sizeof(buf), "buttons%u", sd->button_count);