diff options
author | Chris Toshok <toshok@ximian.com> | 2004-02-04 04:07:10 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2004-02-04 04:07:10 +0800 |
commit | 781f20ac48075c6620ae8671f4877cf1f11881e2 (patch) | |
tree | a990ad847e24bc43874ffa4c934e4a5bf0866f4d /composer/e-msg-composer.c | |
parent | c0a52e03b83b47f331367d42656561073eb4e3c5 (diff) | |
download | gsoc2013-evolution-781f20ac48075c6620ae8671f4877cf1f11881e2.tar.gz gsoc2013-evolution-781f20ac48075c6620ae8671f4877cf1f11881e2.tar.zst gsoc2013-evolution-781f20ac48075c6620ae8671f4877cf1f11881e2.zip |
use FORCE_SLOW_MIME_TYPE so gnome-vfs actually sniffs the file contents
2004-02-03 Chris Toshok <toshok@ximian.com>
* e-msg-composer.c (e_msg_composer_guess_mime_type): use
FORCE_SLOW_MIME_TYPE so gnome-vfs actually sniffs the file
contents before coming up with a mime type.
svn path=/trunk/; revision=24594
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r-- | composer/e-msg-composer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index d6ea5bebdf..80ab2873f7 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -5116,6 +5116,7 @@ e_msg_composer_guess_mime_type (const char *file_name) info = gnome_vfs_file_info_new (); result = gnome_vfs_get_file_info (file_name, info, GNOME_VFS_FILE_INFO_GET_MIME_TYPE | + GNOME_VFS_FILE_INFO_FORCE_SLOW_MIME_TYPE | GNOME_VFS_FILE_INFO_FOLLOW_LINKS); if (result == GNOME_VFS_OK) { char *type; |