To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=42841
                  Issue #:|42841
                  Summary:|Send document as E-mail should take DESKTOP_LAUNCH
                          |into account
                Component:|gsl
                  Version:|680m78
                 Platform:|All
                      URL:|
               OS/Version:|Linux
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|PATCH
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|cp
              Reported by:|kendy





------- Additional comments from [EMAIL PROTECTED] Tue Feb 15 06:20:03 -0800 
2005 -------
As we discussed on IRC with Oliver (and in bug 37708 a little), we'd like to 
support DESKTOP_LAUNCH 
(http://freedesktop.org/pipermail/xdg/2004-August/004489.html) also in 
File->Send->Document as E-mail... This takes it's setting from 
Tools->Options->Internet->E-mail->E-mail Program, and when nothing is set 
there, it issues the "OpenOffice.org was unable to find a working e-mail 
configuration." error dialog. 
 
The easiest way is to modify the senddoc.sh; see the attached patch. The only 
problem is that the empty "Tools->Options->Internet->E-mail->E-mail Program" 
could confuse users; but hopefully not. 
 
Another ways could be: 
- Set "desktop-launch" as the default there. Cons: Is vendor specific, we could 
do that only in ooo-build. 
- Extend the "Tools->Options->Internet->E-mail->E-mail Program" configuration 
tab with "[X] User specified e-mail program" checkbox, and grey out the input 
field when it is unchecked. Cons: Affects GUI. 
- Write a configuration backend which evaluates DESKTOP_LAUNCH and merges it 
into the OOo configuration (like in shell/source/backends/localebe). Cons:  
Office would probably have to recreate the configuration binary cache after 
each desktop switch. 
 
The use of ShellExec::execute() in CmdMailSuppl::sendSimpleMailMessage() seems 
not to be possible, because not all the e-mail clients support mailto: URIs 
with the attachment= field. 
 
Please reassign back to me to commit, if you agree with the patch I am going to 
attach.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to