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
|
||||||
|
|
|
@ -783,6 +783,9 @@ bool GParted_Core::Resize_Container_Partition( const Partition & partition_old,
|
||||||
close_device_and_disk( ) ;
|
close_device_and_disk( ) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( partition_old .type == GParted::TYPE_EXTENDED )
|
||||||
|
return return_value ;
|
||||||
|
else
|
||||||
return wait_for_node( partition_new .partition ) && return_value ;
|
return wait_for_node( partition_new .partition ) && return_value ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue