Bug 528320 - Incorrect icons displayed for files with custom mimetype
authorAlexander Larsson <alexl@redhat.com>
Thu, 23 Oct 2008 09:10:01 +0000 (09:10 +0000)
committerAlexander Larsson <alexl@src.gnome.org>
Thu, 23 Oct 2008 09:10:01 +0000 (09:10 +0000)
commit82863877793df4cf2243e602846ce0b38c799a22
tree09cdfef4cf27f58f657a38e40b2ecc7cb3b0f328
parent17c1241103ba836701d7f21c8dfc9e35fad6baa6
Bug 528320 - Incorrect icons displayed for files with custom mimetype

2008-10-23  Alexander Larsson  <alexl@redhat.com>

Bug 528320 - Incorrect icons displayed for files with custom mimetype icons

        * glocalfileinfo.c:
        (_g_local_file_info_get):
Don't return the fallback icon (text-x-generic) for all files.
This is causing problems with theme icon lookup and custom mime
icons, as the generic fallback overrides custom mime icons in
inherited themes.

This is a slight change as applications might not get an icon wher
they previously did. But there is no guarantee to get on neither before
or after this change, so it should not break applications. Changes
to nautilus and gtk+ will be done to manually use the generic fallback
icon if no icon is found, but this is only required for rare cases.

svn path=/trunk/; revision=7620
gio/ChangeLog
gio/glocalfileinfo.c