Use the speed and drive chosen when burning, and add a speed convert function.

This commit is contained in:
Jaime Thomas
2008-12-21 04:37:50 +00:00
parent 6101e38169
commit 2e2d86a406
4 changed files with 31 additions and 14 deletions

View File

@ -39,6 +39,14 @@ _button_cb_begin(void *data, Evas_Object *obj, void *event_info)
o = evas_object_name_find(evas_object_evas_get(obj), "ecdb/erase/drive");
drive = ecdb_combo_selected_get(o);
if (drive < 0)
{
printf("Choose a drive!\n");
ecdb_erase_project_destroy(proj);
edje_object_part_text_set(swallow, "progress_text", "Choose a Drive!");
return;
}
if (!ecdb_aquire_drive(ECDB_PROJECT(proj), drive))
{
printf("Couldn't grab drive!\n");