diff --git a/experimental/ecdb/trunk/data/themes/default/groups/burn_data.edc b/experimental/ecdb/trunk/data/themes/default/groups/burn_data.edc index 29637965..8f01f856 100644 --- a/experimental/ecdb/trunk/data/themes/default/groups/burn_data.edc +++ b/experimental/ecdb/trunk/data/themes/default/groups/burn_data.edc @@ -64,8 +64,8 @@ group { rel1 { to: "bg"; - relative: 0.5 0.0; - offset: 10 5; + relative: 1.0 0.0; + offset: -200 5; } rel2 { @@ -181,8 +181,8 @@ group { rel2 { to: "bg"; - relative: 0.5 1.0; - offset: -1 -26; + relative: 1.0 1.0; + offset: -205 -26; } } } @@ -321,8 +321,8 @@ group { rel1 { to: "bg"; - relative: 0.5 0.0; - offset: 0 0; + relative: 1.0 0.0; + offset: -200 0; } rel2 { diff --git a/experimental/ecdb/trunk/data/themes/default/groups/burn_image.edc b/experimental/ecdb/trunk/data/themes/default/groups/burn_image.edc index 9af18dac..45ed32d7 100644 --- a/experimental/ecdb/trunk/data/themes/default/groups/burn_image.edc +++ b/experimental/ecdb/trunk/data/themes/default/groups/burn_image.edc @@ -85,8 +85,8 @@ group { rel1 { to: "bg"; - relative: 0.5 0.0; - offset: 10 5; + relative: 1.0 0.0; + offset: -200 5; } rel2 { @@ -201,8 +201,8 @@ group { rel2 { to: "bg"; - relative: 0.5 1.0; - offset: -1 -10; + relative: 1.0 1.0; + offset: -205 -10; } image { @@ -295,8 +295,8 @@ group { rel1 { to: "bg"; - relative: 0.5 0.0; - offset: 0 0; + relative: 1.0 0.0; + offset: -200 0; } rel2 { diff --git a/experimental/ecdb/trunk/data/themes/default/groups/erase_disc.edc b/experimental/ecdb/trunk/data/themes/default/groups/erase_disc.edc index abf339e0..54de2012 100644 --- a/experimental/ecdb/trunk/data/themes/default/groups/erase_disc.edc +++ b/experimental/ecdb/trunk/data/themes/default/groups/erase_disc.edc @@ -80,8 +80,8 @@ group { rel1 { to: "bg"; - relative: 0.5 0.0; - offset: 10 5; + relative: 1.0 0.0; + offset: -200 5; } rel2 { @@ -174,8 +174,8 @@ group { rel2 { to: "bg"; - relative: 0.5 1.0; - offset: -1 -10; + relative: 1.0 1.0; + offset: -205 -10; } image { diff --git a/experimental/ecdb/trunk/src/ecdb_burn_data_gui.c b/experimental/ecdb/trunk/src/ecdb_burn_data_gui.c index 655fc09d..12fc82fc 100644 --- a/experimental/ecdb/trunk/src/ecdb_burn_data_gui.c +++ b/experimental/ecdb/trunk/src/ecdb_burn_data_gui.c @@ -33,6 +33,7 @@ _update_capacity(void *data, int type, void *ev_data) src = evas_object_data_get(bdd->capacity, "source"); if ((proj->drive) && (proj->drive->capacity > 0)) { + printf("drive capacity: %lld, src->size: %lld\n", proj->drive->capacity, src->size); msg.val = (float)src->size / (float)proj->drive->capacity; } else diff --git a/experimental/ecdb/trunk/src/ecdb_drives.c b/experimental/ecdb/trunk/src/ecdb_drives.c index 12256421..cafb189d 100644 --- a/experimental/ecdb/trunk/src/ecdb_drives.c +++ b/experimental/ecdb/trunk/src/ecdb_drives.c @@ -49,7 +49,13 @@ ecdb_aquire_drive_info(void) drive->profile_name = eina_stringshare_add(speeds->profile_name); drive->profile_loaded = speeds->profile_loaded; - drive->capacity = speeds->end_lba * 2048; + + if (burn_drive_grab(drives_current[i].drive, 1)) + { + drive->capacity = burn_disc_available_space(drives_current[i].drive, + NULL); + burn_drive_release(drives_current[i].drive, 0); + } while (speeds->next) {