Re: preferences->preview->thumbnail size



"Dr. Michael J. Chudobiak" <mjc avtechpulse com> writes:
>
> Richard Hughes wrote:
> > On Tue, 2008-12-09 at 12:04 +0100, Alexander Larsson wrote:
> >> Ugh. Looks tricky to fix as it uses uint. I'll change it to 2 GB and
> >> 4GB instead.
> >
> > No joy.
> >
> > cc1: warnings being treated as errors
> > nautilus-global-preferences.c:99: error: this decimal constant is unsigned only in ISO C90
> > nautilus-global-preferences.c:100: error: this decimal constant is unsigned only in ISO C90
>
> Maybe add an "0 = unlimited" choice instead of some random large number?

Or just changing the scale to use a larger unit than individual
*bytes*? Do we really care about being able to specify thumbnail
size-limits under 1 kilobyte?

Alternately, it could be a logarithmic scale, which would be
fine-grained in the kilobyte range and courser in the gigabyte range
(because 1 kB +/- 100 bytes is significant; 1 GB +/- 100 bytes, on the
other hand...).

Maybe mantissa/exponent? Or just using floats (or doubles) instead of
ints, which lets you keep an apparent linear scale while having the
machine actually keep track of it logarithmically for you.

-- 
Don't be afraid to ask (Lf.((Lx.xx) (Lr.f(rr)))).



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]