Re: No file icons showing up on Solaris 9/SPARC



On Tue, 6 May 2003, Albert Chin wrote:

> On Tue, May 06, 2003 at 04:06:22AM -0400, Alexander Larsson wrote:
> > On Mon, 5 May 2003, Albert Chin wrote:
> > 
> > > On Mon, May 05, 2003 at 12:57:53PM -0500, Albert Chin wrote:
> > > > I've compiled nautilus-2.2.3.1 for GNOME 2.2.1 on Solaris 9/SPARC with
> > > > the Sun C compiler. When I start Nautilus, only one type of icon shows
> > > > up:
> > > >   ftp://ftp.thewrittenword.com/outgoing/pub/nautilus.png
> > > > 
> > > > This is quite different from nautilus-2.0.7 on GNOME 2.0.2 which
> > > > appears to display ok. The necessary icons are in DATADIR +
> > > > "/pixmaps/document-icons/". However, nautilus-find-icon-image.c
> > > > doesn't exist in nautilus-2.2.3.1 anymore.  What is responsible for
> > > > looking up the icons in DATADIR + "/pixmaps/document-icons/"?
> > > 
> > > Ok, I installed gnome-icon-theme-1.0.2 and gnome-themes-2.2.1. This
> > > didn't solve the problem. It seems GNOME is looking for
> > > $prefix/share/icons/hicolor (KDE has this directory). If I symlink one
> > > of the icon themes in gnome-icon-theme-1.0.2 to
> > > $prefix/share/icons/hicolor, then I get icons in Nautilus. Is this how
> > > it's suppose to work?
> > 
> > No. gnome-icon-theme installs a theme called "gnome", and the default icon 
> > theme used is supposed to be "gnome". "hicolor" is just looked in for 
> > backwards and KDE compatibility. 
> 
> Where is this default "gnome" theme specified? I had to apply the
> patch below to get the $prefix/share/icons/gnome theme recognized by
> default. It's no doubt wrong but I don't know what the correct
> solution is.

The default is set in the schema file for the 
/desktop/gnome/interface/icon_theme gconf key.
It's in the desktop_gnome_interface.schemas file in libgnome.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a deeply religious crooked shaman moving from town to town, helping folk 
in trouble. She's a virginal tomboy Hell's Angel from Mars. They fight crime! 




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