seoz pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=aef97d8eee0c216275327b20a8a824f0b64bac19

commit aef97d8eee0c216275327b20a8a824f0b64bac19
Author: woochan lee <[email protected]>
Date:   Wed Nov 12 23:42:20 2014 +0900

    test_progressbar: stop btn callback fixed, unnecessary code deleted
    
    Reviewers: Hermet, seoz
    
    Reviewed By: seoz
    
    Differential Revision: https://phab.enlightenment.org/D1664
---
 src/bin/test_progressbar.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/bin/test_progressbar.c b/src/bin/test_progressbar.c
index c3d05b8..b05d3af 100644
--- a/src/bin/test_progressbar.c
+++ b/src/bin/test_progressbar.c
@@ -64,9 +64,9 @@ my_progressbar_test_stop(void *data, Evas_Object *obj 
EINA_UNUSED, void *event_i
    Progressbar_Data *pd = data;
    if (!pd) return;
 
-   elm_progressbar_pulse(pd->pb1, EINA_FALSE);
    elm_progressbar_pulse(pd->pb2, EINA_FALSE);
-   elm_progressbar_pulse(pd->pb3, EINA_FALSE);
+   elm_progressbar_pulse(pd->pb5, EINA_FALSE);
+   elm_progressbar_pulse(pd->pb7, EINA_FALSE);
    elm_object_disabled_set(pd->btn_start, EINA_FALSE);
    elm_object_disabled_set(pd->btn_stop, EINA_TRUE);
 
@@ -121,7 +121,7 @@ test_progressbar(void *data EINA_UNUSED, Evas_Object *obj 
EINA_UNUSED, void *eve
 
    pb = elm_progressbar_add(win);
    evas_object_size_hint_weight_set(pb, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
-   evas_object_size_hint_align_set(pb, EVAS_HINT_FILL, 0.5);
+   evas_object_size_hint_align_set(pb, EVAS_HINT_FILL, EVAS_HINT_FILL);
    elm_box_pack_end(bx, pb);
    //elm_progressbar_horizontal_set(pb, EINA_TRUE);
    //elm_object_text_set(pb, "Progression %");
@@ -169,7 +169,6 @@ test_progressbar(void *data EINA_UNUSED, Evas_Object *obj 
EINA_UNUSED, void *eve
    evas_object_size_hint_align_set(pb, EVAS_HINT_FILL, EVAS_HINT_FILL);
    evas_object_size_hint_weight_set(pb, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
    elm_box_pack_end(hbx, pb);
-   elm_progressbar_span_size_set(pb, elm_config_scale_get() * 60);
    elm_object_text_set(pb, "percent");
    evas_object_show(pb);
    pd->pb4 = pb;

-- 


Reply via email to