Very small fixes for the check.

This commit is contained in:
Jaime Thomas 2009-01-24 21:19:10 +00:00
parent b12aae86bf
commit 87dc267155
2 changed files with 6 additions and 5 deletions

View File

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

View File

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