GNOME Bugzilla – Bug 116121
No mail handler error should offer to help
Last modified: 2004-12-22 21:47:04 UTC
When you have no mail handler set up and go File -> Send To you get an error saying you have no handler set up. This error dialog should have a button offering to open the relevent configuration tool.
Only problem is that the filetypes capplet doesn't accept parameters to change the settings of a protocol just mimetypes. Another option is to automatically set the handler to evolution, although i'm not sure it would handle it correctly.
Maybe just opening the filetypes capplet would be ok as a compromise?
The nohandler dialogue comes from mozilla, there's nothing we can do with it I think.
How hard would it be to make Mozilla allow us to use our own dialog here?
very hard (design a class for it). I vote WONTFIX.
The dialogue is displayed from http://lxr.mozilla.org/seamonkey/source/docshell/base/nsDocShell.cpp#2484 (nsDocShell::DisplayLoadError) via the prompt service; so we'd need to re-implement it. Our only option is using browser.xul.error_pages.enabled. That'll display the error as a web page instead of presenting a dialogue. But currently it 1) uses XUL, and 2) isn't over-rideable for embedders, so we can't provide our own page with hints on how to set the handler up. WONTFIX / NOTGNOME