Re: file type selection



On 07 Jun 2001 10:15:21 -0400, ISO-8859-1 wrote:
> Hi,
> 
> On 06 Jun 2001 18:15:41 -0400, jacob berkman wrote:
> > right.  so we really need to have is something more like:
> > 
> > 	char *mime_types = { "", "image/png",
> > 			     "", "image/jpeg",
> > 			     "Image Files", "image/jpeg,image/png" };
> > 
> 
> Sorry to confuse the issue, but wouldn't a simple mime regexp be useful
> for these sort of collections ?
> 
> 	{ ..., "Image Files", "image/*" }

maybe.

	jacob wet-pants:mime-info$ grep image/ user.keys 
	image/x-xpixmap
	image/ief
	image/x-compressed-xcf
	image/jpeg
	image/x-xcf
	image/vnd.dxf
	image/x-bmp
	image/gif
	image/vnd.dwg
	image/x-xbitmap

eog can't open all of these :/

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]