On Tuesday, October 5, 2010, Bastien Nocera wrote: > On Tue, 2010-10-05 at 18:01 +0200, Thiago Macieira wrote: > > Em Terça-feira 05 Outubro 2010, às 17:36:52, Damjan Jovanovic escreveu: > > > On Tue, Oct 5, 2010 at 5:32 PM, Bastien Nocera <[email protected]> wrote: > > > > Heya, > > > > > > > > This morning I implemented in GNOME use of the x-scheme-handler/* > > > > mime-type for applications to register their interest in handling > > > > particular URI schemes. > > > > > > > > I posted about it in: > > > > http://www.hadess.net/2010/10/new-control-center-and-you.html > > > > And have a blocker bug for GNOME applications in: > > > > https://bugzilla.gnome.org/show_bug.cgi?id=631433 > > > > > > > > The attached patch is changes to the shared-mime-info spec to mention > > > > the use of x-scheme-handler/* mime-types. > > > > > > > > Any comments? > > > > > > I love it. Does it work in KDE? > > > > No. > > > > KDE requires that you install a .protocol file (which is just a .desktop > > file with a different extension) in /usr/share/kde4/services. > > I should add that using a mime-type means that you get to have an > mmap'ed binary cache, which is probably the only gain above the KDE > implementation.
KDE provides a mmap'd binary cache of the contents of the .protocol files. it would be far too slow otherwise. i think the general implementation is not that different, only in the detail of "is the mimetype system a good place to put additional sort-of-like-but-not-quite application associations?" question. -- Aaron J. Seigo humru othro a kohnu se GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 KDE core developer sponsored by Qt Development Frameworks
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
