Re: Folder icons

On Fri, 2006-06-02 at 10:49 +0100, James Pharaoh wrote:
> Hi,
> I like being able to give folders icons in Nautilus but the "metadata"
> method is not much use because it is difficult to copy with the folder
> if I don't use Nautilus to copy it.
> I'd like to be able to stick a file, say ".nautilus-folder-icon" in the
> directory to set a default icon, obviously this would be overridden by
> any metadata icon set. In fact, the name of the file could be set in
> gconf and this could turn the option on.
> I assume this wouldn't be too hard to do, I'd like to have a go myself
> but would appreciate a few hints from someone who knows where to look in
> the code.

We used to look for a ".directory" file in each directory that let you
set both icon and name for the directory (the file used was a desktop
file). However, looking for an extra file each time we look at a
directory was a significant performance problem, so this was removed.

 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's an ungodly small-town matador on a mission from God. She's a high-kicking 
African-American stripper with her own daytime radio talk show. They fight 

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