gEDA-dev: gEDA + PCB Mime types?

Peter Clifton pcjc2 at cam.ac.uk
Thu Nov 8 17:36:05 EST 2007


On Thu, 2007-11-08 at 17:00 -0500, DJ Delorie wrote:
> > I sometimes use gattrib on a schematic and sometimes gschem.
> > 
> > Does that count as stupid  ;-)
> 
> No, the type of stupid I'm thinking of is "let's create a new PCB file
> format, but not have one executable be able to read both the old and
> new formats."

Examples from gtranslator (which I'm looking at to add a mime-type
install...)
application/x-po:

        open=gtranslator %f
        view=gtranslator %f
        edit=gtranslator %f
        _description=Gettext po file
        icon-filename=@PIXMAP_DIR@/gnome-application-x-po.png

application/x-po-gz:
application/x-po-bz2:
application/x-po-compress:
application/x-po-zip:

        open=gtranslator %f
        view=gtranslator %f
        edit=gtranslator %f
        _description=Compressed gettext po file
        icon-filename=@PIXMAP_DIR@/gnome-application-x-po.png

application/x-gmo:

        open=gtranslator %f
        view=gtranslator %f
        edit=gtranslator %f
        _description=Compiled gettext po file
        icon-filename=@PIXMAP_DIR@/gnome-application-x-gmo.png

So, perhaps it would be...

application/x-geda-schematic
application/x-geda-schematic-zip

etc..

The magic for identifying the contents would be different in both cases,
so we'd want different mime types.

Peter




More information about the geda-dev mailing list