From 6ff28b09927d87190fe4961cc61bd9e0f9879ba8 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch <p.janouch@gmail.com> Date: Sun, 30 Jan 2011 15:29:19 +0100 Subject: Register a MIME type. --- share/logdiag.desktop | 2 +- share/logdiag.xml | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 share/logdiag.xml (limited to 'share') diff --git a/share/logdiag.desktop b/share/logdiag.desktop index 485e0de..390676e 100644 --- a/share/logdiag.desktop +++ b/share/logdiag.desktop @@ -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; - diff --git a/share/logdiag.xml b/share/logdiag.xml new file mode 100644 index 0000000..b8b9cab --- /dev/null +++ b/share/logdiag.xml @@ -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> -- cgit v1.2.3-70-g09d2