From: Jaeun Choi Date: Fri, 13 Feb 2015 12:28:05 +0000 (+0900) Subject: popup: removed button style setting code in theme_apply X-Git-Tag: v1.13.2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f84c2b30ed6991b5f6f70e3ab6a6fbdc0e56cf80;p=platform%2Fupstream%2Felementary.git popup: removed button style setting code in theme_apply popup buttons are created by users it's inappropriate to set button style in widget code @fix --- diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c index 82da275..e7f9b69 100644 --- a/src/lib/elc_popup.c +++ b/src/lib/elc_popup.c @@ -314,11 +314,6 @@ _elm_popup_elm_widget_theme_apply(Eo *obj, Elm_Popup_Data *sd) snprintf(buf, sizeof(buf), "buttons%i", sd->last_button_number); if (!elm_layout_theme_set(sd->action_area, "popup", buf, style)) CRI("Failed to set layout!"); - for (i = 0; i < ELM_POPUP_ACTION_BUTTON_MAX; i++) - { - if (!sd->buttons[i]) continue; - elm_object_style_set(sd->buttons[i]->btn, style); - } } if (!elm_layout_theme_set(sd->content_area, "popup", "content", style)) CRI("Failed to set layout!");