Author: aschnell Date: Wed Jul 16 13:52:10 2008 New Revision: 49160 URL: http://svn.opensuse.org/viewcvs/yast?rev=49160&view=rev Log: - use Storage::KByteToHumanString Modified: branches/tmp/aschnell/part-redesign/storage/src/modules/DevicesSelectionBox.ycp Modified: branches/tmp/aschnell/part-redesign/storage/src/modules/DevicesSelectionBox.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/storage/src/modules/DevicesSelectionBox.ycp?rev=49160&r1=49159&r2=49160&view=diff ============================================================================== --- branches/tmp/aschnell/part-redesign/storage/src/modules/DevicesSelectionBox.ycp (original) +++ branches/tmp/aschnell/part-redesign/storage/src/modules/DevicesSelectionBox.ycp Wed Jul 16 13:52:10 2008 @@ -44,7 +44,7 @@ term SizeTerm(list<map> tmp) { integer size_k = Integer::Sum(maplist(map device, tmp, { return device["size_k"]:0; })); - return `Left(`Label(sformat(_("Total size: %1"), Storage::ByteToHumanString(size_k*1024)))); + return `Left(`Label(sformat(_("Total size: %1"), Storage::KByteToHumanString(size_k)))); } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org