Specify the icon for the file types

For some reason, the icon wasn't always being associated with the files,
so we can force an icon for the files instead. Note that we can't use
the <icon> tag for this, because that is user-space only, so we have
to make the icons be the generic icons to allow for system-level usage.
This commit is contained in:
Ian McInerney 2021-05-03 15:48:14 +01:00
parent ad705e1065
commit 7c83a4a072
1 changed files with 3 additions and 0 deletions

View File

@ -3,12 +3,14 @@
<mime-type type="application/x-kicad-project">
<sub-class-of type="text/plain"/>
<comment>KiCad Project</comment>
<generic-icon name="application-x-kicad-project"/>
<glob pattern="*.pro"/>
<glob pattern="*.kicad_pro"/>
</mime-type>
<mime-type type="application/x-kicad-schematic">
<sub-class-of type="text/plain"/>
<comment>KiCad Schematic</comment>
<generic-icon name="application-x-kicad-schematic"/>
<glob pattern="*.sch"/>
<glob pattern="*.kicad_sch"/>
<magic priority="100">
@ -21,6 +23,7 @@
<mime-type type="application/x-kicad-pcb">
<sub-class-of type="text/plain"/>
<comment>KiCad Printed Circuit Board</comment>
<generic-icon name="application-x-kicad-pcb"/>
<glob pattern="*.kicad_pcb"/>
<magic priority="100">
<!--The new board file (.kicad_pcb) header-->