Re: Icon scaling
- From: Alexander Larsson <alexl redhat com>
- To: Soeren Sandmann <sandmann daimi au dk>
- Cc: Nautilus <nautilus-list gnome org>
- Subject: Re: Icon scaling
- Date: 31 Mar 2004 11:25:04 +0200
On Sat, 2004-03-27 at 22:45, Soeren Sandmann wrote:
> Currently the list view spends a lot of time scaling down icons that
> have a greater nominal size than base size.
>
> Every time the list model is asked for an icon, and it finds out that
> that icon is too large, it scales it down. This means that every
> expose of the list view results in a lot icons getting scaled down
> which is showing up on profiles.
>
> This patch adds the ability to cache these scaled icons.
>
> (It also adds a hash table to stop warnings from being displayed more
> than once, but that's not really related).
I commited something based on this.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's a shy albino messiah on the wrong side of the law. She's a
transdimensional extravagent pearl diver with a knack for trouble. They fight
crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]