share/hedgewars/Data/misc/hedgewars-mimeinfo.xml
author nemo
Mon, 01 Nov 2010 19:13:00 -0400
changeset 4091 f89b8d0afbe1
parent 4083 830d1f4eb517
child 4096 6fab0759409c
permissions -rw-r--r--
set as default type, add icon. going to assume the icon was installed already. should happen in most packaging out there.

<?xml version="1.0"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
  <mime-type type="application/x-hedgewars-demo">
    <icon name="hedgewars" />
    <!--
    https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/217997
    <generic-icon name="applications-games"/>
    -->
    <comment>Hedgewars Demo</comment>
    <comment xml:lang="fr">Hedgewars Démonstration</comment>
    <magic priority="50">
      <match required="yes" type="byte" offset="0" value="2"/>
      <match required="yes" type="big16" offset="1" value="21572"/>
    </magic>
    <glob weight="60" pattern="*.hwd"/>
  </mime-type>
  <mime-type type="application/x-hedgewars-save">
    <icon name="hedgewars" />
    <!--<generic-icon name="applications-games"/>-->
    <comment>Hedgewars Save</comment>
    <magic priority="50">
      <match required="yes" type="byte" offset="0" value="2"/>
      <match required="yes" type="big16" offset="1" value="21587"/>
    </magic>
    <glob weight="60" pattern="*.hws"/>
  </mime-type>
</mime-info>