[yast-devel] Tiny change to FormatSizeWithPrecision
Hi, are there any objections to change FormatSizeWithPrecision to return "1 MB" instead of "1024 kB" and alike? Normally, when displaying e.g. package sizes, it shouldn't matter but in storage I want to display stribe sizes and such things where I have powers of two and the shorter "1 MB" looks better. ciao Arvin -- Arvin Schnell, <aschnell@suse.de> Software Engineer, Research & Development SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
On Fri, Mar 28, 2008 at 10:09:25AM +0100, Arvin Schnell wrote:
Hi,
are there any objections to change FormatSizeWithPrecision to return "1 MB" instead of "1024 kB" and alike?
Done. And also fixed to return unit "B" for small values. If it trashes your testsuite: Your fault for not recognising earlier. ciao Arvin -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
participants (1)
-
Arvin Schnell