store libparted error in Partition::error if reading the used/unused space
* src/GParted_Core.cc: store libparted error in Partition::error if reading the used/unused space failed.
This commit is contained in:
parent
7f187d644c
commit
28343faa78
|
@ -1,3 +1,8 @@
|
||||||
|
2006-04-04 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||||
|
|
||||||
|
* src/GParted_Core.cc: store libparted error in Partition::error if
|
||||||
|
reading the used/unused space failed.
|
||||||
|
|
||||||
2006-04-03 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
2006-04-03 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||||
|
|
||||||
* include/Dialog_Filesystems.h,
|
* include/Dialog_Filesystems.h,
|
||||||
|
|
|
@ -948,6 +948,9 @@ void GParted_Core::LP_Set_Used_Sectors( Partition & partition )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( partition .sectors_used == -1 )
|
||||||
|
partition .error = ped_error ;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GParted_Core::create_empty_partition( Partition & new_partition,
|
bool GParted_Core::create_empty_partition( Partition & new_partition,
|
||||||
|
|
Loading…
Reference in New Issue