diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-01-20 12:29:36 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-01-20 12:29:36 +0000 |
commit | fa7100eebfe4b3dcc7277618b5f2b35c93e4ffd7 (patch) | |
tree | 9ec72edda33a871965943b84a517406b8356fa41 /shell/source | |
parent | e7b3a23339d900437ea898e945792b9f4e11768c (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.sh | 17 |
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 |