From a77961158eaeb17a1c0faf283461243a1b9bb7e2 Mon Sep 17 00:00:00 2001 From: Jaeun Choi Date: Fri, 13 Feb 2015 21:28:05 +0900 Subject: [PATCH] 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 --- src/lib/elc_popup.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c index 2a3510c..54ec6ef 100644 --- a/src/lib/elc_popup.c +++ b/src/lib/elc_popup.c @@ -311,11 +311,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!"); -- 2.7.4