Make the erase have a percentage complete.

This commit is contained in:
Jaime Thomas
2008-11-17 21:31:23 +00:00
parent 7b12247d36
commit ae9c73f2b4
4 changed files with 56 additions and 8 deletions

View File

@@ -178,7 +178,7 @@ ecdb_drive_progress_update(void *data)
stat = burn_drive_get_status(drive, &p);
if (stat == BURN_DRIVE_SPAWNING)
{
sleep(1);
usleep(100000);
continue;
}
else if (stat == BURN_DRIVE_IDLE)
@@ -192,7 +192,7 @@ ecdb_drive_progress_update(void *data)
}
ecore_pipe_write(proj->pipe, &p, sizeof(p));
sleep(1);
usleep(100000);
}
}