Register a MIME type.

This commit is contained in:
2011-01-30 15:29:19 +01:00
parent c07d5f552d
commit 6ff28b0992
3 changed files with 13 additions and 1 deletions

View File

@@ -5,5 +5,5 @@ GenericName=Schematic Editor
GenericName[cs]=Editor schémat
Icon=logdiag
Exec=logdiag %f
MimeType=application/x-logdiag-diagram;
Categories=Graphics;VectorGraphics;Electricity;Engineering;GTK;

11
share/logdiag.xml Normal file
View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<mime-type type="application/x-logdiag-diagram">
<comment>logdiag diagram</comment>
<comment xml:lang="cs">Diagram logdiag</comment>
<magic priority="50">
<match type="string" offset="0" value="/* logdiag diagram */"/>
</magic>
<glob pattern="*.ldd"/>
</mime-type>
</mime-info>