[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: shared mime-data



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon December 01 2003 20:52, Bastien Nocera wrote:
> Is that a worthy TODO item, or do people think that it would be
> something that could be achieved with inheritance?
>
> Cheers

In KDE (3.2) we use inheritance for that. We would create an image/pjpeg type 
that says "I'm also image/jpeg" and then when you feed  image/pjpeg in the 
trader, it will automatically come up with applications that can open 
image/jpeg.

Syntactically it might be nicer to do it the other way around and let 
"image/jpeg" says "I'm also known as image/pjpeg", you wouldn't need to 
duplicate the description (+translations) of image/jpeg for image/pjpeg then.

Cheers,
Waldo
- -- 
bastian kde org -=|[ SUSE, The Linux Desktop Experts ]|=- bastian suse com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/y6dzN4pvrENfboIRApG4AJ4nxrqkE64JvQYrAAzNV9Yzi8aauwCfW2J4
neUKVaHd9Pv4VJVQw4/dgQE=
=Z/Xd
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]