From: <pi...@wg...> - 2004-11-05 13:33:29
|
On Fri, Nov 05, 2004 at 11:19:36AM +0000, Thomas Leonard wrote: > Alexander Wagner <a.w...@ph...>: [..] > > I tried to just hack the ./configure to check only for >=2.0 > > which compiles ok, but still if I have a perl-script labled > > just "test" I only get either an "executable" or a > > "text/plain" icon. Though "contents indicates" always gives > > me "perl". > > The contents thing comes from the 'file' command, which uses yet another > database... > > The point is that if you have an icon and run action for > application/x-perl, you don't want to get that type for *.pl files, > but text/perl for ones matched on content instead of name. This paragraph confuses me :) Here is where i think the file -> properties window gets it's info: 1. Type: <shared-mime-type> <shared-mime-descriptive-name (or target if symlink)> 2. Run action: <decide-by-shared-mime-type> 3. Contents indicate... <file-output> Is this correct? Where does the gnome-vfs stuff fit in? Still, i don't know which entries in the shared-mime database take precedence. Is it content match in order of supplied precedence values and file extension afterwards? Thanks, peter. |