Oops, forgot to renable the erase page controls.

This commit is contained in:
Jaime Thomas 2009-02-17 19:20:14 +00:00
parent 937e001022
commit 2fb05a62d4
1 changed files with 8 additions and 1 deletions

View File

@ -178,6 +178,7 @@ void
ecdb_erase_cleanup(Ecdb_Page *page)
{
Ecdb_Erase_Project *proj;
int idx;
if (!page)
{
@ -190,7 +191,13 @@ ecdb_erase_cleanup(Ecdb_Page *page)
{
printf("ecdb_erase_cleanup: NULL proj!\n");
return;
}
}
Evas_Object *objs[] = {proj->speed, ECDB_PROJECT(proj)->ret,
ECDB_PROJECT(proj)->begin,
ECDB_PROJECT(proj)->drive_combo, NULL};
for (idx = 0; objs[idx] != NULL; idx++)
edje_object_signal_emit(objs[idx], "ecdb,disable", "ecdb");
edje_object_part_text_set(page->erase, "progress_text", "Erase Complete!");
edje_object_signal_emit(page->erase, "ecdb,erase,done", "ecdb");