GNOME Bugzilla – Bug 631451
Add handlers for x-scheme-handler/mailto
Last modified: 2013-09-13 01:09:58 UTC
So that Evolution is listed as one of the mail clients in the preferred applications panel.
Note, our "mailto-handler" module will need to be updated to support the new scheme. It nags you about making Evolution your default email client when the app starts up. http://git.gnome.org/browse/evolution/tree/modules/mailto-handler/evolution-mailto-handler.c
Created attachment 172843 [details] [review] evo patch for evolution; I cannot test it with the control-center, but if I didn't do a typo then this should make it work, right? Note I removed the %s from the MAILTO_COMMAND, because using G_APP_INFO_CREATE_SUPPORTS_URIS adds a %u to the command line on its own.
Created commit 61999b4 in evo master (2.91.2+)
Review of attachment 172843 [details] [review]: ::: modules/mailto-handler/evolution-mailto-handler.c @@ +212,2 @@ /* Configure Evolution to be the "mailto" URI handler. */ + app_info = g_app_info_create_from_commandline ( Why do that when you can get the .desktop file for it instead?
(In reply to comment #4) > Review of attachment 172843 [details] [review]: > > ::: modules/mailto-handler/evolution-mailto-handler.c > @@ +212,2 @@ > /* Configure Evolution to be the "mailto" URI handler. */ > + app_info = g_app_info_create_from_commandline ( > > Why do that when you can get the .desktop file for it instead? I didn't know how, so I chose this approach. And it was also closer to the previous solution.