due to some restrictions it was no longer possible to shrink swap
* src/Dialog_Partition_Resize_Move.cc: due to some restrictions it was no longer possible to shrink swap filesystems. fixed.
This commit is contained in:
parent
8e0880e5ea
commit
1234b248d5
|
@ -1,3 +1,8 @@
|
||||||
|
2006-08-20 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||||
|
|
||||||
|
* src/Dialog_Partition_Resize_Move.cc: due to some restrictions it as
|
||||||
|
no longer possible to shrink swap filesystems. fixed.
|
||||||
|
|
||||||
2006-08-20 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
2006-08-20 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||||
|
|
||||||
* src/linux_swap.cc: small fix with moving of linux-swap (which seems
|
* src/linux_swap.cc: small fix with moving of linux-swap (which seems
|
||||||
|
|
|
@ -62,7 +62,9 @@ void Dialog_Partition_Resize_Move::Set_Data( const Partition & selected_partitio
|
||||||
void Dialog_Partition_Resize_Move::Resize_Move_Normal( const std::vector<Partition> & partitions )
|
void Dialog_Partition_Resize_Move::Resize_Move_Normal( const std::vector<Partition> & partitions )
|
||||||
{
|
{
|
||||||
//little bit of paranoia ;)
|
//little bit of paranoia ;)
|
||||||
if ( selected_partition .sectors_used == -1 && selected_partition .status != STAT_NEW )
|
if ( selected_partition .sectors_used == -1 &&
|
||||||
|
selected_partition .status != STAT_NEW &&
|
||||||
|
selected_partition .filesystem != FS_LINUX_SWAP )
|
||||||
fs .shrink = GParted::FS::NONE ;
|
fs .shrink = GParted::FS::NONE ;
|
||||||
|
|
||||||
//see if we need a fixed_start
|
//see if we need a fixed_start
|
||||||
|
|
Loading…
Reference in New Issue