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
This commit is contained in:
woochan lee 2014-12-15 21:07:14 +09:00 committed by Daniel Juyung Seo
parent c71a074a60
commit 29ba5cd8da
2 changed files with 5 additions and 2 deletions

View File

@ -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;
}
}
}

View File

@ -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;
}
}