Very small fixes for the check.
This commit is contained in:
parent
b12aae86bf
commit
87dc267155
@ -148,8 +148,10 @@
|
||||
color: 60 60 60 255; \
|
||||
fixed: 1 1; \
|
||||
rel1 { \
|
||||
to: partname; \
|
||||
offset: 25 0; \
|
||||
to_x: partname"check_base"; \
|
||||
to_y: partname; \
|
||||
relative: 1.0 0.0; \
|
||||
offset: 5 0; \
|
||||
} \
|
||||
rel2 { \
|
||||
relative: 1.0 1.0; \
|
||||
|
@ -54,9 +54,8 @@ _button_cb_begin(void *data __UNUSED__, Evas_Object *obj,
|
||||
return;
|
||||
}
|
||||
|
||||
state = edje_object_part_state_get(obj, "ecdb/erase/speed/check", NULL);
|
||||
proj->quick = !strcmp(state, "active");
|
||||
printf("Quick erase: %d (%s)\n", proj->quick, state);
|
||||
state = edje_object_part_state_get(obj, "ecdb/erase/speed", NULL);
|
||||
proj->quick = !strcmp(state, "on");
|
||||
if (!ecdb_erase_disc(proj))
|
||||
{
|
||||
Ecdb_Project *p = ECDB_PROJECT(proj);
|
||||
|
Loading…
Reference in New Issue
Block a user