Re: nautilus 2.1.3 and thumbnail sizes



On Sun, 8 Dec 2002, Thomas 'Dent' Mirlacher wrote:

> hi list,
> 
> i have a directory with images of the same resolution, but some of them are
> smaller than 16k and some of them are larger.
> 
> nautilus right now will present images >16k as thumbnails (including the
> framing), but images <16k as themselfs.
> 
> an obvious solution would be to use this patch:
> 
> ===================================================================
> RCS file: /cvs/gnome/nautilus/libnautilus-private/nautilus-icon-factory.c,v
> retrieving revision 1.283
> diff -u -r1.283 nautilus-icon-factory.c
> --- nautilus-icon-factory.c     5 Dec 2002 19:19:31 -0000       1.283
> +++ nautilus-icon-factory.c     8 Dec 2002 19:59:58 -0000
> @@ -738,8 +738,7 @@
>                                        custom_icon,
>                                        nautilus_file_peek_vfs_file_info (file),
>                                        mime_type,
> -                                      GNOME_ICON_LOOKUP_FLAGS_EMBEDDING_TEXT |
> -                                      GNOME_ICON_LOOKUP_FLAGS_SHOW_SMALL_IMAGES_AS_THEMSELVES,
> +                                      GNOME_ICON_LOOKUP_FLAGS_EMBEDDING_TEXT,
>                                        &lookup_result);
> ===================================================================
> 
> ... ok it has its downsides, but it will (IMHO) improve useability

Nautilus has always done this, and i consider it the right thing to do. 
Adding thumbnails for a directory of small icons is useless and slow.

We may want to tune the limit a bit though.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a globe-trotting guitar-strumming cop who dotes on his loving old ma. 
She's a mentally unstable red-headed mechanic looking for love in all the 
wrong places. They fight crime! 




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