W32: Special treatment for inode/directory mime/type
commit5f0665cbbc1d8b2fafeeb1fba7569612832b7541
authorРуслан Ижбулатов <lrn1986@gmail.com>
Thu, 30 Apr 2015 23:09:30 +0000 (30 23:09 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 5 Jun 2015 16:28:09 +0000 (5 12:28 -0400)
tree343fa5b181e3b6915dca33ef812d5c54c5c75515
parent9931336d2dfbaf44aeb54b7e31164b91718e7769
W32: Special treatment for inode/directory mime/type

This is a hack for GLocalFileInfo to correctly get icons for directories.
Without this change content type for any W32 directory is NULL
(because there's no registry entry for "inode/directory" by default,
and in any way there's no file extension that means "directory" to put there),
and GLocalFileInfo uses content type to grab icons.

https://bugzilla.gnome.org/show_bug.cgi?id=748727
gio/gcontenttype-win32.c