diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 8 | ||||
-rw-r--r-- | mail/em-popup.c | 2 | ||||
-rw-r--r-- | mail/em-utils.c | 2 |
3 files changed, 10 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 7ecbee7885..d8d68f1a4a 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,13 @@ 2008-10-01 Milan Crha <mcrha@redhat.com> + ** Part of fix for bug #554418 + + * em-utils.c: (em_utils_snoop_type): + * em-popup.c: (emp_standard_menu_factory): + Guess mime_type based on the filename only. + +2008-10-01 Milan Crha <mcrha@redhat.com> + ** Fix for bug #554458 * em-popup.c: (emp_standard_menu_factory): diff --git a/mail/em-popup.c b/mail/em-popup.c index b05e7753c3..dfd09d2ad0 100644 --- a/mail/em-popup.c +++ b/mail/em-popup.c @@ -807,7 +807,7 @@ emp_standard_menu_factory(EPopup *emp, void *data) if (filename != NULL) { gchar *name_type; - name_type = e_util_guess_mime_type (filename); + name_type = e_util_guess_mime_type (filename, FALSE); cp = g_content_type_from_mime_type (name_type); apps = g_app_info_get_all_for_type (cp ? cp : name_type); g_free (cp); diff --git a/mail/em-utils.c b/mail/em-utils.c index f7555afbef..01b18eb461 100644 --- a/mail/em-utils.c +++ b/mail/em-utils.c @@ -2260,7 +2260,7 @@ em_utils_snoop_type(CamelMimePart *part) filename = camel_mime_part_get_filename (part); if (filename != NULL) - name_type = e_util_guess_mime_type (filename); + name_type = e_util_guess_mime_type (filename, FALSE); dw = camel_medium_get_content_object((CamelMedium *)part); if (!camel_data_wrapper_is_offline(dw)) { |