summaryrefslogtreecommitdiff
path: root/shell/source
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-01-20 12:29:36 +0000
committerOliver Bolte <obo@openoffice.org>2006-01-20 12:29:36 +0000
commitfa7100eebfe4b3dcc7277618b5f2b35c93e4ffd7 (patch)
tree9ec72edda33a871965943b84a517406b8356fa41 /shell/source
parente7b3a23339d900437ea898e945792b9f4e11768c (diff)
INTEGRATION: CWS macosx20xfixes01 (1.8.12); FILE MERGED
2006/01/08 19:44:06 obr 1.8.12.2: #i57043# use open for any .app and capitalized thunderbird 2005/10/27 08:57:37 ericb 1.8.12.1: #i54948# change to make possible send active document on Mac OS X
Diffstat (limited to 'shell/source')
-rw-r--r--shell/source/unix/misc/senddoc.sh17
1 files changed, 17 insertions, 0 deletions
diff --git a/shell/source/unix/misc/senddoc.sh b/shell/source/unix/misc/senddoc.sh
index b8b393075d50..9770b41b61b7 100644
--- a/shell/source/unix/misc/senddoc.sh
+++ b/shell/source/unix/misc/senddoc.sh
@@ -273,6 +273,23 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
${MAILER} ${TO:+--compose} ${TO:-} ${ATTACH:+--attach} ${ATTACH:-}
;;
+ Mail | Thunderbird | *.app )
+
+ while [ "$1" != "" ]; do
+ case $1 in
+ --attach)
+ ATTACH="${ATTACH:-}${ATTACH:+ } $2"
+ shift
+ ;;
+ *)
+ ;;
+ esac
+ shift;
+ done
+
+ /usr/bin/open -a "${MAILER}" ${ATTACH}
+ ;;
+
"")
# DESKTOP_LAUNCH, see http://freedesktop.org/pipermail/xdg/2004-August/004489.html