The correct way is indeed registering the x-scheme-handler/mailto mime type. To get a list of apps that can do that, just query for this mime type. The user's preference is set by modifying which default app opens the x-scheme-handler/mailto mime type, like it would check for the default text/plain app.
http://standards.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-0.11.html J. Leclanche On Fri, Nov 23, 2012 at 5:50 PM, Jan Kundrát <[email protected]> wrote: > As of 2), my understanding is that the x-scheme-handler/mailto MIME type > in a .desktop file might be the way to go, but that applications shall > never put that into their own .desktop files. I've read through KDE's code, > started at /usr/share/applications/kde4/**kmailservice.desktop, continued > via kdelibs/kio/misc/kmailservice.**cpp to > kdelibs/kdecore/kernel/**ktoolinvocation.cpp > and stopped at [1] which looks like the choice of a default is indeed > handled by the user's preferences. >
_______________________________________________ xdg mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/xdg
