Bug 538362 - Get Win32 icons back in the file chooser
authorTor Lillqvist <tml@novell.com>
Mon, 16 Jun 2008 13:23:14 +0000 (13:23 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Mon, 16 Jun 2008 13:23:14 +0000 (13:23 +0000)
commitcc8adfaeb84d666aeb8afadb7501498a0c8970fe
tree392bcd9d45a02bda5fbf9639ecc7d0eb702daadc
parenta4427bfff5d31499dc0b46fa3f734bc92f7d0dd5
Bug 538362 - Get Win32 icons back in the file chooser

2008-06-16  Tor Lillqvist  <tml@novell.com>

Bug 538362 - Get Win32 icons back in the file chooser

* gcontenttype.c (g_content_type_get_icon): Look up the icon
corresponding to a file extension in the Registry. Patch by Hans
Breuer.
(get_registry_classes_key): Handle also REG_EXPAND_SZ type values.

2008-06-16  Tor Lillqvist  <tml@novell.com>

Patches by Hans Breuer:

* glocalfile.c (is_xp_or_later): Handle compiling against older
SDK headers with missing VerifyVersionInfo().  Conditioned on
_MSC_VER, but should probably use some better test.
* glocalfile.c (g_local_file_query_filesystem_info): Don't test
uninitialised statfs_result variable on Win32.

svn path=/trunk/; revision=7049
gio/ChangeLog
gio/gcontenttype.c
gio/glocalfile.c