[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#170699: #170699 info to add external mail programs to OO



Hello,

at our company we had to search for this for a customer and I think it
would be very good for integration if by default some other mail clients
will be available in the menu.

This patch will add kmail to the menu:

--- /usr/lib/openoffice/share/config/registry/instance/org/openoffice/Office/Common.xml.old     Mon Jun 30 16:01:06 2003
+++ /usr/lib/openoffice/share/config/registry/instance/org/openoffice/Office/Common.xml Mon Jun 30 16:01:16 2003
@@ -792,6 +792,26 @@
                                                <attachment cfg:type="string">,</attachment>
                                        </EnumDelimiters>
                                </MailCommandLineProfile></Profiles>
+                        <Program cfg:type="string"/>
+                        <CommandProfile cfg:type="string">KMail</CommandProfile>
+                        <Profiles cfg:type="set" cfg:element-type="MailCommandLineProfile"><MailCommandLineProfile cfg:name="KMail">
+                                        <FormatStrings>
+                                                <base cfg:type="string">--composer %s</base>
+                                                <from cfg:type="string"/>
+                                                <to cfg:type="string">to=&apos;%s&apos;</to>
+                                                <cc cfg:type="string">cc=&apos;%s&apos;</cc>
+                                                <bcc cfg:type="string">bcc=&apos;%s&apos;</bcc>
+                                                <subject cfg:type="string">-s &apos;%s&apos;</subject>
+                                                <attachment cfg:type="string">--attach %s</attachment>
+                                                <body cfg:type="string">--body &apos;%s&apos;</body>
+                                        </FormatStrings>
+                                        <EnumDelimiters>
+                                                <base cfg:type="string"> </base>
+                                                <cc cfg:type="string"> </cc>
+                                                <bcc cfg:type="string"> </bcc>
+                                                <attachment cfg:type="string"> </attachment>
+                                        </EnumDelimiters>
+                               </MailCommandLineProfile></Profiles>
                </ExternalMailer>
                <I18N>
                        <CJK>

and this one will use it as default so you dont have to configure it:

--- /usr/lib/openoffice/share/config/registry/instance/org/openoffice/Office/Common.xml.old     Mon Jun 30 15:29:56 2003
+++ /usr/lib/openoffice/share/config/registry/instance/org/openoffice/Office/Common.xml Mon Jun 30 16:44:44 2003
@@ -767,11 +767,27 @@                 <ExternalApps cfg:type="set" cfg:element-type="cfg:any"><cfg:any cfg:name="http" cfg:type="string"/><cfg:any cfg:name="https" cfg:type="string"/><cfg:any cfg:name="ftp" cfg:type="string"/><cfg:any cfg:name="file" cfg:type="string"/><cfg:any cfg:name="mailto" cfg:type="string"/></ExternalApps>
                <ExternalMailer>
                                                                                                                                                                                                         
-
-
-
-                       <UseDefaultMailer cfg:type="boolean" xsi:null="true"/>
-                       <Program cfg:type="string"/>
+                       <UseDefaultMailer cfg:type="boolean">false</UseDefaultMailer>
+                       <Program cfg:type="string">kmail</Program>
+                       <CommandProfile cfg:type="string">KMail</CommandProfile>
+                       <Profiles cfg:type="set" cfg:element-type="MailCommandLineProfile"><MailCommandLineProfile cfg:name="KMail">
+                                       <FormatStrings>
+                                               <base cfg:type="string">--composer %s</base>
+                                               <from cfg:type="string"/>
+                                               <to cfg:type="string">to=&apos;%s&apos;</to>
+                                               <cc cfg:type="string">cc=&apos;%s&apos;</cc>
+                                               <bcc cfg:type="string">bcc=&apos;%s&apos;</bcc>
+                                               <subject cfg:type="string">-s &apos;%s&apos;</subject>
+                                               <attachment cfg:type="string">--attach %s</attachment>
+                                               <body cfg:type="string">--body &apos;%s&apos;</body>
+                                       </FormatStrings>
+                                       <EnumDelimiters>
+                                               <base cfg:type="string"> </base>
+                                               <cc cfg:type="string"> </cc>
+                                               <bcc cfg:type="string"> </bcc>
+                                               <attachment cfg:type="string"> </attachment>
+                                       </EnumDelimiters>
+                               </MailCommandLineProfile></Profiles>
                        <CommandProfile cfg:type="string">Netscape 6.x</CommandProfile>
                        <Profiles cfg:type="set" cfg:element-type="MailCommandLineProfile"><MailCommandLineProfile cfg:name="Netscape 6.x">
                                        <FormatStrings>

I think its easy to add evolution and other mailclients to it.

thx for adding it to the next version *duck* ;))

-- 
Noèl Köthe <noel debian.org>
Debian GNU/Linux, www.debian.org

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Reply to: