made available under the MPL/LGPLv3+
Hi,
I originally posted this as a bug on launchpad,
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1011735. I was
instructed to send the patch here instead. I also had to reassemble it a
bit as part of the original was also to stuff which was added downstream by
the debian packager.
This patch adds support for gnome-gmail as mail user agent for sending
documents from the filemenu. This was super easy since the gnome-gmail CLI
is modelled on the one from evolution.
the strange addition of "gnome" after "evolution" is because the basename
of the mailer is piped through sed to remove 'suffixes" from the name,
which also removes the "-gmail" part.
The patch is of course made available under the MPL/LGPLv3+
➜ core git:(master) ✗ git diff
diff --git a/shell/source/unix/misc/senddoc.sh
b/shell/source/unix/misc/senddoc
index a18562b..16f3660 100755
--- a/shell/source/unix/misc/senddoc.sh
+++ b/shell/source/unix/misc/senddoc.sh
@@ -208,7 +208,7 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
rm -f $BODY
;;
- evolution)
+ evolution | gnome) # gnome-mail is shortened from the dash on
while [ "$1" != "" ]; do
case $1 in
Context
- PATCH: Add support for gnome-mail to send documents from file menu. · Peter Tillemans
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.