Public bug reported:

Binary package hint: nautilus

Since having gone to great pain to create a set of gEDA mime icons in
time for Gutsy, I'm rather distraught to find Nautilus is now ignoring
them in hardy...

This is due to an issue with the fallback order of icons with the GIO
backend in nautilus. For a given mimetype file, e.g. application-x-geda-
schematic (for which there is an icon installed in the fallback, hicolor
theme by the package libgeda-common), there are many possible mimetypes
returned from GIO / tried by nautilus:

"application-x-geda-schematic"
"gnome-mime-application-x-geda-schematic"
"application-x-generic"
"text-x-preview"
"text-x-generic"

My machine has the default Gnome icon theme set. Nautilus passes the
above list of names to gtk_icon_theme_choose_icon(), however the
fallback ordering is along the list nautilus presented, not into the
fallback themes.

This means, (continuing the example), for a gEDA schematic, Nautilus
will prefer to use the text-x-preview icon it can find in that theme,
than the very specific mimetype icon which the gEDA suite installed in
what is supposed to be the fallback theme.

I've hacked up a trial piece of code to try this another way, searching
for each mime-type / content-type name one by one, only continuing to
the more generic names if no icon was found. Seems to fix the issue for
me, even if the code isn't pretty.

Is there any chance of getting this fixed prior to Hardy?

** Affects: nautilus
     Importance: Unknown
         Status: Unknown

** Affects: libgeda (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: nautilus (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: libgeda (Ubuntu)
   Importance: Undecided
       Status: New

** Bug watch added: GNOME Bug Tracker #528320
   http://bugzilla.gnome.org/show_bug.cgi?id=528320

** Also affects: nautilus via
   http://bugzilla.gnome.org/show_bug.cgi?id=528320
   Importance: Unknown
       Status: Unknown

-- 
Incorrect icons displayed for mimetypes installed in hicolor theme only
https://bugs.launchpad.net/bugs/217997
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in ubuntu.

-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to