[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xdg
Subject:    Re: Sub-class of text/plain
From:       Josselin Mouette <joss () debian ! org>
Date:       2005-06-21 10:43:19
Message-ID: 1119350599.13861.20.camel () silicium ! ccc ! cea ! fr
[Download RAW message or body]

Le mardi 21 juin 2005 à 08:50 +0200, Alexander Larsson a écrit :
> > Should we modify gnome-vfs to have an application that advertises the
> > proper mime-type rather than one of its parent as the default? (ie. if
> > Abiword explicitely mentioned text/rtf, it would be the default, rather
> > than GEdit that only supports the parent)
> 
> We definitely should prefer the handler for the more specific mimetype
> when picking the default application.

Indeed. In Debian, we worked around this by shipping a defaults.list
with different defaults for RTF and text files. However, when the
selected default application isn't installed, the system falls back to a
random choice, including applications inherited from parent types.

> > Or should we remove from shared-mime-info the subclassing for those
> > types that it doesn't make sense to edit as a file? (which would bring
> > it inline with a number of other formats that are plain text, but make
> > no sense to edit in a text editor, like playlist formats)
> 
> I agree, although I'm sure there will be some difference in opinions on
> exactly which ones make sense to edit in a text editor. :)

Well, editing a RTF file in gedit doesn't make much sense.
-- 
 .''`.           Josselin Mouette        /\./\
: :' :           josselin.mouette@ens-lyon.org
`. `'                        joss@debian.org
   `-  Debian GNU/Linux -- The power of freedom


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic