diff options
Diffstat (limited to 'mail/em-popup.c')
-rw-r--r-- | mail/em-popup.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mail/em-popup.c b/mail/em-popup.c index d44d206414..0ee4fdae5d 100644 --- a/mail/em-popup.c +++ b/mail/em-popup.c @@ -788,6 +788,12 @@ emp_standard_menu_factory(EPopup *emp, void *data) } if (mime_type) { + gchar *cp; + + /* GNOME-VFS expects lowercase MIME types. */ + for (cp = mime_type; *cp != '\0'; cp++) + *cp = g_ascii_tolower (*cp); + apps = gnome_vfs_mime_get_all_applications(mime_type); if (apps == NULL && strcmp(mime_type, "application/octet-stream") == 0) { |