fixed small issue with shrinking of a new (virtual) partition
* src/Dialog_Partition_Resize_Move.cc: fixed small issue with shrinking of a new (virtual) partition
This commit is contained in:
parent
b539a10ddc
commit
4c2e8b469c
|
@ -1,3 +1,8 @@
|
|||
2006-08-08 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||
|
||||
* src/Dialog_Partition_Resize_Move.cc: fixed small issue with
|
||||
shrinking of a new (virtual) partition
|
||||
|
||||
2006-08-08 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||
|
||||
* implemented some stuff to find a good blocksize to use for
|
||||
|
|
|
@ -61,8 +61,8 @@ void Dialog_Partition_Resize_Move::Set_Data( const Partition & selected_partitio
|
|||
|
||||
void Dialog_Partition_Resize_Move::Resize_Move_Normal( const std::vector<Partition> & partitions )
|
||||
{
|
||||
//little bit of paranoia ;)//FIXME: partition with STAT_NEW should not be restricted ;)
|
||||
if ( selected_partition .sectors_used == -1 )
|
||||
//little bit of paranoia ;)
|
||||
if ( selected_partition .sectors_used == -1 && selected_partition .status != STAT_NEW )
|
||||
fs .shrink = GParted::FS::NONE ;
|
||||
|
||||
//see if we need a fixed_start
|
||||
|
|
Loading…
Reference in New Issue