[ROOT] Any Mime artists out there?

From: Simon Dean (sdean@hep.man.ac.uk)
Date: Mon Mar 18 2002 - 20:57:53 MET


Hi there.

When a file is viewed in a listview, what particular characteristic of the
file is compared to the 'pattern' part of the relevant Mime in order to
determine which icon to display? In root.mimes, there seems to be an
ambiguity because there is an entry for both 'TFile' and files with the
suffix '.root'. Which Mime has priority? (I can't tell because they have
the same icon assigned)

Also, using the 'gClient->GetMimeType()->AddType()' construct, is there
any way of overriding the existing MIME-types. In other words, if I wanted
to supply my own icon for a filename with a format like 'simon*.root' how
could I get around the obvious ambiguity with the current '*.root' Mime.

cheers,

Simon



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:46 MET