Author: aschnell Date: Tue Oct 21 18:07:40 2008 New Revision: 52407 URL: http://svn.opensuse.org/viewcvs/yast?rev=52407&view=rev Log: - disallow resize of extended partitions Modified: trunk/storage/storage/src/include/ep-hd-lib.ycp Modified: trunk/storage/storage/src/include/ep-hd-lib.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/ep-hd-lib.ycp?rev=52407&r1=52406&r2=52407&view=diff ============================================================================== --- trunk/storage/storage/src/include/ep-hd-lib.ycp (original) +++ trunk/storage/storage/src/include/ep-hd-lib.ycp Tue Oct 21 18:07:40 2008 @@ -266,6 +266,13 @@ return; } + if (data["type"]:`primary == `extended) + { + // error popup text + Popup::Error(_("An extended partition cannot be resized.")); + return; + } + //Need to pass data on the whole disk, to determine free/available space if ( DlgResizePartition(data, disk) ) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org