glib's role in the units policy game

2010-03-26 Thread Benjamin Drung
) specific. Please read my blog post [3] and comment there or here. [1] https://bugzilla.gnome.org/show_bug.cgi?id=554172 [2] https://wiki.ubuntu.com/UnitsPolicy [3] http://overbenny.wordpress.com/2010/03/26/how-to-get-units-consistent-across-all-applications -- Benjamin Drung Ubuntu Developer

Re: glib uses wrong prefix for base-2 units

2009-06-03 Thread Benjamin Drung
Am Mittwoch, den 03.06.2009, 23:53 +0100 schrieb Rui Tiago Cação Matos: > 2009/6/3 Benjamin Drung : > > Hello, > > > > g_format_size_for_display uses the wrong prefixes for units that are > > counted in power of two. > > You may want to check the colour of t

glib uses wrong prefix for base-2 units

2009-06-03 Thread Benjamin Drung
Hello, g_format_size_for_display uses the wrong prefixes for units that are counted in power of two. The SI defines following prefixes: k = 1000 M = 1000 k G = 1000 M ... Please use the IEC standard for binary prefixes: Ki = 1024 Mi = 1024 Ki Gi = 1024 Mi ... More information can be found here