Work on a combo

This commit is contained in:
Jaime Thomas
2008-12-19 05:48:23 +00:00
parent 8815f3c6f6
commit ead2822bfe
13 changed files with 509 additions and 60 deletions

View File

@@ -733,8 +733,10 @@ ecdb_erase_page_show(void)
if (!swallow)
{
Evas_Object *b;
Evas_Object *b, *d;
Evas_Coord x, y, w, h;
Eina_List *l;
Ecdb_Drive_Info *drive;
swallow = edje_object_add(ecore_evas_get(em->main_win_ee));
edje_object_file_set(swallow, em->theme_path, "ecdb/erase_page");
@@ -767,6 +769,17 @@ ecdb_erase_page_show(void)
b = ecdb_check_add(swallow, "ecdb/erase/speed");
ecdb_check_label_set(b, "Quick Erase");
evas_object_show(b);
b = ecdb_combo_add(swallow, "ecdb/erase/drive");
ecdb_combo_header_set(b, "Drive");
EINA_LIST_FOREACH(em->drives, l, drive)
{
d = ecdb_button_add(swallow, NULL);
ecdb_button_label_set(d, drive->location);
ecdb_combo_append(b, d);
evas_object_show(d);
}
}
else if (edje_object_part_swallow_get(gui, "action_area") != swallow)