projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d270ac1
)
popup: removed button style setting code in theme_apply
author
Jaeun Choi
<jaeun12.choi@samsung.com>
Fri, 13 Feb 2015 12:28:05 +0000
(21:28 +0900)
committer
Jaehwan Kim
<jae.hwan.kim@samsung.com>
Tue, 3 Mar 2015 04:49:55 +0000
(13:49 +0900)
popup buttons are created by users
it's inappropriate to set button style in widget code
@fix
Change-Id: I116ee75391dc3018a8ac324167b916ab0b871d11
src/lib/elc_popup.c
patch
|
blob
|
history
diff --git
a/src/lib/elc_popup.c
b/src/lib/elc_popup.c
index 9c54473eea91485d68fdeea4f9cd96cbff459ae7..7d0a8df60d4c26b39f194a90d50b7a64e52920ec 100644
(file)
--- 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!");