GNOME Bugzilla – Bug 127526
Ask user to make Evolution default mail app
Last modified: 2005-06-24 15:58:28 UTC
It would be nice if Evolution would prompt the user if he or she would like to set Evolution as the default "mailto:" handler for GNOME if ot is the first time the user has run Evolution and/or the default mailto handler gconf setting is unset This bug is part of the Integrated Collaborative Desktop Bounty Hunt. For more information on prizes, contest rules, and other bounty tasks, visit: http://www.gnome.org/bounties/ If you would like to start working on this bounty, please create a bugzilla account and append your intention to work on this bounty to this bug. If multiple people declare their intentions to work on a task, we encourage you to join forces and work together. Please do not close this bug. The contest organizers will mark this bug as FIXED when the prize is claimed.
Please see http://www.gnome.org/bounties/Mailer.php3#127526 for more information.
I'm working on this one.
I'll start working on this as well.
Created attachment 21755 [details] [review] This patch should do the trick.
There are still some open issues though. I think that the current handling is slightly unintuitive. What is supposed to happen if you klick "Don't ask me again" and "Yes" and the mail handler actually changes? One might think that evolution should check and automatically re-set the gconf entry. Also, it may be a good idea to have a menu entry where you can re-activate the dialog or where you can make the setting directly.
Ulf, if I read your patch correctly you ask the user to set Evolution as a mailer even if another mailer is set. As I read the bounty, the user should _only_ be prompted if there is no mailto: handler set, thus avoiding a Windows-like situation with e.g. Mozilla and Outlook fighting to be the default mailer. If you make this change to your patch, please assign this bug to yourself, as I won't be working on it. If you don't think this is a sensible change I'll probably submit an alternative patch.
Yes, I'm going to change that. I am not really satisfied with how it works right now. However, I can't assign the bug to myself, only you can do that.
Good luck, and remember that your final patch must also be sent to the evolution-patches list.
Would it be possible to add KDE support to your patches? I mean, setting Evo as the mail handler in KDE as well. For us people who have to pay for the traffic, Konqueror with its mail button is often the browser of choice. And Evolution as mailer runs well with that (I use this already). But the default mailto handling has to be set manually. If an "auo" feature is implemented, why not add KDE to it?
How's KDE doing the default mailer thing? I would have to install KDE to test that. Hmmm... Ideas?
Created attachment 23223 [details] [review] I got this proposal
Created attachment 23224 [details] [review] The ReaL patch (with) definitions i forgot
This isnt part of the bounty, (bounties over anyway, and the UI's in freeze isnt it?) but shouldnt this require that a modification be made to evolution-settings to tell evolution to check the default mailer again? Just incase they tell this to "dont ask me again" and then change their mind. PS : Whats the status on this now that the bounties have closed? Are Andrés de Barbará and Ulf Ochsenfahrt still working on this?
Created attachment 23691 [details] [review] Added a GtkButton to the composer preferences in tools->settings to Ulf's patch.
I hope you can use some of that. It should solve the issue of avoiding fighting for defaultness, and still let the user change his mind at a later date. The button just resets the /apps/evolution/mail/prompts/default_mailer key and calls Ulf's widget. PS: Ive been brought up to speed about the bounties. (/me looks sheepish)
Created attachment 25015 [details] [review] My proposal, better late than never, right?
What is the status on this bounty? Have the authors of the above patches submitted to the evo mailing lists and received approval/feedback?
Oh, we're supposed to submit them to the evo mailing list. Interesting news. Not only is the dependency tree inside GNOME a total undocumented mess, but the process of getting patches in is as well. GNOME needs some serious cleaning up. The patch i posted here needs some more work, in particular it needs a checkbox in the properties menu or something. However, after spending a week of trying to get evolution to run and this user interface generator thing (glade isn't it?) to run (and i don't have broadband), I have simply given up. Coding the patch actually only took about 5-10 minutes. Bye and good luck!
I'd like to work on this issue also. I wrote my own patch, and now I'm going to look over all of yours to see if theres anything I'm missing that I might need ... looks like I've got everything though. I'll see if I can get the checkbox in Properties, but didn't someone (adarkshadow) already code that into Ulf's patch? We'll see...
Well I assumed as Ulf did most of the work, he would pop in and claim the bounty. I'll sit back down and do some more work on getting it to set the kde defaults too, and see what happens.
Created attachment 38759 [details] [review] Something pretty and nice
*** Bug 215987 has been marked as a duplicate of this bug. ***
I know it is a bit late to say but shouldn't this be done as part of gnome-default-applications-properties?
I've done the patch, submitted it on the evo mailing list, and it's going to be committed today, so this can be considered resolved
Created attachment 47521 [details] [review] no integration in the preference pannel :-(
What's the status on this bounty?
The work by Jonathan Dieter is now committed. To everyone else - sorry if your patch wasn't looked at, all patches to evolution need to be submitted through the evolution patch submission process - explained in several locations - not just attached to the bug. This is listed as the second point on the bounty rules at: http://www.gnome.org/bounties/rules.html