made available under the MPL/LGPLv3+<br><br>Hi,<br><br>I originally posted this as a bug on launchpad, <a href="https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1011735">https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1011735</a>. 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.<br>
<br>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.<br><br><p id="yui_3_2_0_1_13395094326311999">
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.</p>
<br>The patch is of course made available under the MPL/LGPLv3+<br><br><br>➜ core git:(master) ✗ git diff<br>diff --git a/shell/source/unix/misc/senddoc.sh b/shell/source/unix/misc/senddoc<br>index a18562b..16f3660 100755<br>
--- a/shell/source/unix/misc/senddoc.sh<br>+++ b/shell/source/unix/misc/senddoc.sh<br>@@ -208,7 +208,7 @@ case `basename "$MAILER" | sed 's/-.*$//'` in<br> rm -f $BODY<br> ;;<br> <br>- evolution)<br>
+ evolution | gnome) # gnome-mail is shortened from the dash on<br> <br> while [ "$1" != "" ]; do<br> case $1 in<br><br><br><br>