Thanks! After a quick talk on IRC, it seems the spec doesn't define which of the following has priority: wine/example.desktop or wine-example.desktop
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. J. Leclanche On Fri, Aug 17, 2012 at 11:43 PM, Rex Dieter <[email protected]> wrote: > Jerome Leclanche wrote: > > > I was experimenting with my xdg library and I tried to add a MimeType key > > to > /home/adys/.local/share/applications/wine/Programs/Steam/Steam.desktop. > > > > This created the following key in mimeinfo.cache: > > > > x-scheme-handler/steam=wine-Programs-Steam-Steam.desktop; > > > > I'm guessing this isn't intended behaviour? What's up with this? > > That is intended, dirs under applications/ are treated as vendor prefixes. > > See > http://standards.freedesktop.org/menu-spec/menu-spec-1.0.html#merge- > algorithm > > and search for "vendor prefix" phrase. > > -- rex > > _______________________________________________ > xdg mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/xdg >
_______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
