Added file extensions to the MIME types.

This commit is contained in:
Moritz Bunkus 2004-01-15 16:26:45 +00:00
parent ab7864ca7f
commit 0993fe2de2
3 changed files with 630 additions and 626 deletions

File diff suppressed because it is too large Load Diff

View File

@ -22,8 +22,12 @@
#ifndef __EXTERN_DATA_H
#define __EXTERN_DATA_H
typedef struct {
const char *name, *extensions;
} mime_type_t;
extern const char *sub_charsets[];
extern const char *mime_types[];
extern const mime_type_t mime_types[];
extern const char *cctlds[];
#endif // __EXTERN_DATA_H

View File

@ -69,8 +69,8 @@ tab_attachments::tab_attachments(wxWindow *parent):
cob_mimetype->SetToolTip(_("MIME type for this track. Select one of the "
"pre-defined MIME types or enter one yourself."));
cob_mimetype->Append(_(""));
for (i = 0; mime_types[i] != NULL; i++)
cob_mimetype->Append(mime_types[i]);
for (i = 0; mime_types[i].name != NULL; i++)
cob_mimetype->Append(mime_types[i].name);
new wxStaticText(this, wxID_STATIC, _("Attachment style:"),
wxPoint(275, 365), wxDefaultSize, 0);