[Mageia-dev] What is Mageia's policy reagarding filesize display? (units/base 2 vs base 10)
lohmaier+mageia at googlemail.com
Tue Jun 26 16:18:56 CEST 2012
Hi Olav, *,
On Tue, Jun 26, 2012 at 3:35 PM, Olav Vitters <olav at vitters.nl> wrote:
> On Tue, Jun 26, 2012 at 02:57:16PM +0200, Christian Lohmaier wrote:
>> Apparently this did originate from ubuntu with their unit policy
>> https://wiki.ubuntu.com/UnitsPolicy which is rather flawed in my
> FWIW, I'm not interested in making such changes. I prefer base 2, but
> don't see the point of making glib/gtk+ behave differently across
It is not making glib/gtk behave differently, it is just requesting
differently processed string from glib.
glib already provides functions / corresponding flags to switch
between the two bases.
A patch would be passing G_FORMAT_SIZE_IEC_UNITS to the function call.
More information about the Mageia-dev