Oops, forgot to renable the erase page controls.

This commit is contained in:
Jaime Thomas 2009-02-17 19:20:14 +00:00
parent de08ff3b6c
commit 894f4d59f5

View File

@ -178,6 +178,7 @@ void
ecdb_erase_cleanup(Ecdb_Page *page)
{
Ecdb_Erase_Project *proj;
int idx;
if (!page)
{
@ -192,6 +193,12 @@ ecdb_erase_cleanup(Ecdb_Page *page)
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");