diff options
author | Radek Doulik <rodo@helixcode.com> | 2000-11-15 16:45:22 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2000-11-15 16:45:22 +0800 |
commit | c9c591526f3104831f2ccefaf907cee6bd0ac2d5 (patch) | |
tree | 1434e4d3bde969171826a070c3bb54384ea765db /composer/e-msg-composer-attachment.c | |
parent | 7384e82aa7369af5d6aa07afd856a5f9cf1f6841 (diff) | |
download | gsoc2013-evolution-c9c591526f3104831f2ccefaf907cee6bd0ac2d5.tar.gz gsoc2013-evolution-c9c591526f3104831f2ccefaf907cee6bd0ac2d5.tar.zst gsoc2013-evolution-c9c591526f3104831f2ccefaf907cee6bd0ac2d5.zip |
e_msg_composer_guess_mime_type renamed and moved
2000-11-15 Radek Doulik <rodo@helixcode.com>
* e-msg-composer.h: e_msg_composer_guess_mime_type renamed and
moved mime_guess_type_from_file_name from camel as it uses VFS
svn path=/trunk/; revision=6579
Diffstat (limited to 'composer/e-msg-composer-attachment.c')
-rw-r--r-- | composer/e-msg-composer-attachment.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/composer/e-msg-composer-attachment.c b/composer/e-msg-composer-attachment.c index 8fd06f2afa..8483e318db 100644 --- a/composer/e-msg-composer-attachment.c +++ b/composer/e-msg-composer-attachment.c @@ -33,6 +33,7 @@ #include <camel/camel.h> #include <gal/widgets/e-unicode.h> +#include "e-msg-composer.h" #include "e-msg-composer-attachment.h" @@ -167,7 +168,7 @@ e_msg_composer_attachment_new (const gchar *file_name) wrapper = camel_data_wrapper_new (); camel_data_wrapper_construct_from_stream (wrapper, stream); camel_object_unref (CAMEL_OBJECT (stream)); - mime_type = mime_guess_type_from_file_name (file_name); + mime_type = e_msg_composer_guess_mime_type (file_name); if (mime_type) { camel_data_wrapper_set_mime_type (wrapper, mime_type); g_free (mime_type); @@ -251,7 +252,7 @@ update_mime_type (DialogData *data) return; file_name = e_utf8_gtk_entry_get_text (data->file_name_entry); - mime_type = mime_guess_type_from_file_name (file_name); + mime_type = e_msg_composer_guess_mime_type (file_name); g_free (file_name); e_utf8_gtk_entry_set_text (data->mime_type_entry, mime_type); |