Re: file type selection
- From: jacob berkman <jacob ximian com>
- To: gnome-components-list gnome org
- Subject: Re: file type selection
- Date: 06 Jun 2001 18:15:41 -0400
On 06 Jun 2001 16:34:44 -0400, jacob berkman wrote:
> On 31 May 2001 14:05:32 -0400, Michael Meeks wrote:
> >
> > So, here is my file selector API (roughly):
> >
> > char *mime_names [] = {
> > "application/x-gnumeric",
> > "application/x-xbase" };
>
> i think it makes sense to leave the regexps out, as they should be
> registered with the mime database. this provides an easy way to do
> mime-type name lookup, so that we don't also have to pass a list of type
> descriptions.
right. so we really need to have is something more like:
char *mime_types = { "", "image/png",
"", "image/jpeg",
"Image Files", "image/jpeg,image/png" };
i think it is self explanulary.
now i must go wash my hands.
jacob
--
In the afterlife, a cute .signature will only get you so far.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]