Thanks!<div><br></div><div>After a quick talk on IRC, it seems the spec doesn't define which of the following has priority:</div><div>wine/example.desktop or</div><div>wine-example.desktop</div><div><br></div><div>Instinctively I'm going to let it check wine-example.desktop first, but undefined behaviour is not good especially here, would be good to figure this one out.</div>
<div><br clear="all">J. Leclanche<br>
<br><br><div class="gmail_quote">On Fri, Aug 17, 2012 at 11:43 PM, Rex Dieter <span dir="ltr"><<a href="mailto:rdieter@math.unl.edu" target="_blank">rdieter@math.unl.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div>Jerome Leclanche wrote:<br>
<br>
> I was experimenting with my xdg library and I tried to add a MimeType key<br>
> to /home/adys/.local/share/applications/wine/Programs/Steam/Steam.desktop.<br>
><br>
> This created the following key in mimeinfo.cache:<br>
><br>
> x-scheme-handler/steam=wine-Programs-Steam-Steam.desktop;<br>
><br>
> I'm guessing this isn't intended behaviour? What's up with this?<br>
<br>
</div></div>That is intended, dirs under applications/ are treated as vendor prefixes.<br>
<br>
See<br>
<a href="http://standards.freedesktop.org/menu-spec/menu-spec-1.0.html#merge-" target="_blank">http://standards.freedesktop.org/menu-spec/menu-spec-1.0.html#merge-</a><br>
algorithm<br>
<br>
and search for "vendor prefix" phrase.<br>
<br>
-- rex<br>
<br>
_______________________________________________<br>
xdg mailing list<br>
<a href="mailto:xdg@lists.freedesktop.org" target="_blank">xdg@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/xdg" target="_blank">http://lists.freedesktop.org/mailman/listinfo/xdg</a><br>
</blockquote></div><br></div>