GNOME CVS: gnome-vfs federico

[email protected] (Federico Mena Quintero)
Newsgroups gmane.comp.gnome.cvs
Message-ID <[email protected]>
CVSROOT:	/cvs/gnome
Module name:	gnome-vfs
Changes by:	federico	06/12/18 12:34:07

Modified files:
	.              : ChangeLog 
	modules        : smb-method.c 

Log message:
2006-12-18  Federico Mena Quintero  <[email protected]>

Fix http://bugzilla.gnome.org/show_bug.cgi?id=385085 (same as
https://bugzilla.novell.com/show_bug.cgi?id=195269).  When opening
SMB files with no extension or unknown extension, the proper MIME
type doesn't get sniffed.

* modules/smb-method.c (do_get_file_info): If we have
GNOME_VFS_FILE_INFO_FORCE_SLOW_MIME_TYPE, then use
gnome_vfs_get_mime_type_common() to cause the file to be sniffed.
Otherwise, call gnome_vfs_mime_type_from_name_or_default() as
usual.

2006-12-18  Alexander Larsson  <[email protected]>

URL : http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-vfs&who=federico&date=explicit&mindate=2006-12-18%2012:33&maxdate=2006-12-18%2012:35
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.