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 &quot;gnome&quot; 
after &quot;evolution&quot; is because the basename of the mailer is piped through
 sed to remove &#39;suffixes&quot; from the name, which also removes the &quot;-gmail&quot;
 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 &quot;$MAILER&quot; | sed &#39;s/-.*$//&#39;` in<br>         rm -f $BODY<br>         ;;<br> <br>-    evolution)<br>
+    evolution | gnome) # gnome-mail is shortened from the dash on<br> <br>         while [ &quot;$1&quot; != &quot;&quot; ]; do<br>             case $1 in<br><br><br><br>