Re: g_format_file_size_for_display()
- From: JP Rosevear <jpr novell com>
- To: Dave Benson <daveb idealab com>
- Cc: Federico Mena Quintero <federico ximian com>, GTK+ development mailing list <gtk-devel-list gnome org>, David Zeuthen <david fubar dk>
- Subject: Re: g_format_file_size_for_display()
- Date: Tue, 18 Dec 2007 18:51:31 -0500
On Tue, 2007-12-18 at 15:31 -0800, Dave Benson wrote:
> On Tue, Dec 18, 2007 at 05:14:31PM -0600, Federico Mena Quintero wrote:
> > Big deal :) When you see 61.2 MB you think, "oh, file system overhead!
> > ripples in the time-space continuum". Nobody cares about that.
> >
> > Back to my original question: should this function be called
> > g_format_size_for_display()? It's not for files only.
>
> I have no idea whether to use SI or computer units,
> but the fact that there's debate suggests holding
> off til there's more experience.
Actually, I see it as an argument for centralizing the call and
abstracting the decision away from apps. Then whenever its tweaked you
fix it in one spot and it instantly propagates everywhere.
> Once a few cut-n-pasted versions exist,
> then you can decide if they are all the same...
They are already a few like gnome-system-monitor, gnome-main-menu,
presumably nautilus.
-JP
--
JP Rosevear <jpr novell com>
Novell, Inc.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]