Author: aschnell Date: Mon Jul 21 16:02:17 2008 New Revision: 49294 URL: http://svn.opensuse.org/viewcvs/yast?rev=49294&view=rev Log: - ugly hack Modified: branches/tmp/aschnell/part-redesign/storage/src/include/ep-loop-lib.ycp Modified: branches/tmp/aschnell/part-redesign/storage/src/include/ep-loop-lib.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/storage/src/include/ep-loop-lib.ycp?rev=49294&r1=49293&r2=49294&view=diff ============================================================================== --- branches/tmp/aschnell/part-redesign/storage/src/include/ep-loop-lib.ycp (original) +++ branches/tmp/aschnell/part-redesign/storage/src/include/ep-loop-lib.ycp Mon Jul 21 16:02:17 2008 @@ -17,7 +17,6 @@ data["type"] = `loop; data["format"] = true; - data["enc_type"] = `twofish; if (DlgCreateLoop(data)) { @@ -32,6 +31,12 @@ TreePanel::Create(); UpdateTableFocus(data["device"]:"error"); } + else + { + // TODO: This is ugly. Storage::GetLoopDevice creates a loop device which + // must be deleted if the user abort the creation dialog. + Storage::DeleteDevice("/dev/loop", data["device"]:""); + } } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org