beagle r3495 - trunk/beagle/Util
- From: joeshaw svn gnome org
- To: svn-commits-list gnome org
- Subject: beagle r3495 - trunk/beagle/Util
- Date: Fri, 23 Feb 2007 17:34:41 +0000 (GMT)
Author: joeshaw
Date: 2007-02-23 17:34:40 +0000 (Fri, 23 Feb 2007)
New Revision: 3495
ViewCVS link: http://svn.gnome.org/viewcvs/beagle?rev=3495&view=rev
Modified:
trunk/beagle/Util/XdgMime.cs
Log:
Scan the first 4k of files to determine their MIME type in addition to
looking at the extension, and use the better match. This is a similar
approach to how GNOME-VFS does it, and should fix problems where the
content of the file doesn't match the extension. bgo #406461.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]