seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=1f83634b0239e66d96fc50261675cc62b06b4ae0
commit 1f83634b0239e66d96fc50261675cc62b06b4ae0 Author: woochan lee <[email protected]> Date: Mon Dec 15 21:07:14 2014 +0900 test_external.edc: pulse value have to be true for put in pulsing mode. Summary: pulsing mode doen't work even though called elm_progressbar_pulse function in code , if pulse value is not true. Test Plan: 1. run elementary_test 2. execution ExtProgressBar sample. 3. click 3rd button to start progressbar. @fix Reviewers: seoz, Hermet, woohyun, cedric Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D1770 --- data/objects/test_external.edc | 3 +++ src/edje_externals/elm_progressbar.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/data/objects/test_external.edc b/data/objects/test_external.edc index c127441..e30464e 100644 --- a/data/objects/test_external.edc +++ b/data/objects/test_external.edc @@ -588,6 +588,7 @@ embryo script and from C code."; params { string: "label" "infinite bouce"; string: "unit format" ""; + bool: "pulse" 1; } } } @@ -635,6 +636,7 @@ embryo script and from C code."; string: "label" "infinite bouce"; bool: "horizontal" 0; string: "unit format" ""; + bool: "pulse" 1; } } } @@ -667,6 +669,7 @@ embryo script and from C code."; rel2.offset: 0 -50; params { string: "style" "wheel"; + bool: "pulse" 1; } } } diff --git a/src/edje_externals/elm_progressbar.c b/src/edje_externals/elm_progressbar.c index 63666d0..d044a6a 100644 --- a/src/edje_externals/elm_progressbar.c +++ b/src/edje_externals/elm_progressbar.c @@ -44,7 +44,7 @@ external_progressbar_state_set(void *data EINA_UNUSED, Evas_Object *obj, if (p->unit) elm_progressbar_unit_format_set(obj, p->unit); if (p->pulse_exists) - elm_progressbar_pulse(obj, p->pulse); + elm_progressbar_pulse_set(obj, p->pulse); } static Eina_Bool @@ -89,7 +89,7 @@ external_progressbar_param_set(void *data EINA_UNUSED, Evas_Object *obj, { if (param->type == EDJE_EXTERNAL_PARAM_TYPE_BOOL) { - elm_progressbar_pulse(obj, param->i); + elm_progressbar_pulse_set(obj, param->i); return EINA_TRUE; } } --
