A bit of reorganization.
This commit is contained in:
@@ -359,6 +359,29 @@ ecdb_cb_erase_page_buttons_clicked(void *data, Evas_Object *o,
|
||||
}
|
||||
else if (!strcmp(source, "ecdb/erase/begin"))
|
||||
{
|
||||
int speed;
|
||||
Ecdb_Erase_Project *proj;
|
||||
proj = ecdb_erase_project_new();
|
||||
|
||||
if (!ecdb_aquire_drive(ECDB_PROJECT(proj), 0))
|
||||
{
|
||||
printf("Couldn't grab drive!\n");
|
||||
ecdb_erase_project_destroy(proj);
|
||||
}
|
||||
|
||||
if (!ecdb_erase_disc(proj))
|
||||
{
|
||||
printf("Couldn't begin burn!\n");
|
||||
ecdb_erase_project_destroy(proj);
|
||||
}
|
||||
|
||||
/* 1) Disable buttons...
|
||||
* 2) Start erase
|
||||
* 3) Grab a drive
|
||||
* 4) Start burn
|
||||
* 5) Set up progress callback
|
||||
*/
|
||||
|
||||
|
||||
}
|
||||
else if (!strcmp(source, "ecdb/erage/speed"))
|
||||
|
Reference in New Issue
Block a user