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; \ color: 60 60 60 255; \
fixed: 1 1; \ fixed: 1 1; \
rel1 { \ rel1 { \
to: partname; \ to_x: partname"check_base"; \
offset: 25 0; \ to_y: partname; \
relative: 1.0 0.0; \
offset: 5 0; \
} \ } \
rel2 { \ rel2 { \
relative: 1.0 1.0; \ relative: 1.0 1.0; \

View File

@ -54,9 +54,8 @@ _button_cb_begin(void *data __UNUSED__, Evas_Object *obj,
return; return;
} }
state = edje_object_part_state_get(obj, "ecdb/erase/speed/check", NULL); state = edje_object_part_state_get(obj, "ecdb/erase/speed", NULL);
proj->quick = !strcmp(state, "active"); proj->quick = !strcmp(state, "on");
printf("Quick erase: %d (%s)\n", proj->quick, state);
if (!ecdb_erase_disc(proj)) if (!ecdb_erase_disc(proj))
{ {
Ecdb_Project *p = ECDB_PROJECT(proj); Ecdb_Project *p = ECDB_PROJECT(proj);