don't use wait_for_node() if resizing an extended partition (they don't
* src/GParted_Core.cc: don't use wait_for_node() if resizing an extended partition (they don't have nodes :P)
This commit is contained in:
parent
714193cdee
commit
c5f508c520
|
@ -1,3 +1,8 @@
|
||||||
|
2005-12-12 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||||
|
|
||||||
|
* src/GParted_Core.cc: don't use wait_for_node() if resizing an
|
||||||
|
extended partition (they don't have nodes :P)
|
||||||
|
|
||||||
2005-12-11 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
2005-12-11 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||||
|
|
||||||
* po/POTFILES.in: added include/Utils.h
|
* po/POTFILES.in: added include/Utils.h
|
||||||
|
|
|
@ -782,8 +782,11 @@ bool GParted_Core::Resize_Container_Partition( const Partition & partition_old,
|
||||||
|
|
||||||
close_device_and_disk( ) ;
|
close_device_and_disk( ) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
return wait_for_node( partition_new .partition ) && return_value ;
|
if ( partition_old .type == GParted::TYPE_EXTENDED )
|
||||||
|
return return_value ;
|
||||||
|
else
|
||||||
|
return wait_for_node( partition_new .partition ) && return_value ;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GParted_Core::Resize_Normal_Using_Libparted( const Partition & partition_old, const Partition & partition_new )
|
bool GParted_Core::Resize_Normal_Using_Libparted( const Partition & partition_old, const Partition & partition_new )
|
||||||
|
|
Loading…
Reference in New Issue