elementary/popup - only set the notify style if the notify is the parent of the popup
authorChunEon Park <hermet@hermet.pe.kr>
Sat, 10 Aug 2013 07:41:25 +0000 (16:41 +0900)
committerChunEon Park <hermet@hermet.pe.kr>
Sat, 10 Aug 2013 07:41:25 +0000 (16:41 +0900)
src/lib/elc_popup.c

index e3e99470911241509d9e3468a92a24d079487996..340d45bbaaea87cd54be48e3c213fbad8dfbc2ca 100644 (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);