From 894f4d59f5e3b5dfb78be59e6a3467e26a898f4e Mon Sep 17 00:00:00 2001 From: Jaime Thomas Date: Tue, 17 Feb 2009 19:20:14 +0000 Subject: [PATCH] Oops, forgot to renable the erase page controls. --- ecdb/trunk/src/ecdb_erase_gui.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/ecdb/trunk/src/ecdb_erase_gui.c b/ecdb/trunk/src/ecdb_erase_gui.c index 42de9df..b711dc5 100644 --- a/ecdb/trunk/src/ecdb_erase_gui.c +++ b/ecdb/trunk/src/ecdb_erase_gui.c @@ -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");