Very small fixes for the check.

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

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