summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-04-30 16:14:35 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-04-30 16:14:35 +0200
commitb78e16f99d1427435bd887800482061e5df53cdf (patch)
treed23f3253db25e6699cafa725179c078073873a0c /shell
parent59ff796a52bacec17f054ccdafd546680439f8c6 (diff)
be even smarter in the mailto handler :)
Diffstat (limited to 'shell')
-rwxr-xr-xshell/source/unix/misc/senddoc.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/source/unix/misc/senddoc.sh b/shell/source/unix/misc/senddoc.sh
index f3657e69f90c..fd87644d200f 100755
--- a/shell/source/unix/misc/senddoc.sh
+++ b/shell/source/unix/misc/senddoc.sh
@@ -404,7 +404,9 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
# do not recognize. Try to be smart, and send the mail anyway, if we
# have the possibility to do so.
- if [ -x /usr/bin/gnome-open ] ; then
+ if [ -n "$KDE_FULL_SESSION" -a -x /usr/bin/kde-open ] ; then
+ MAILER=/usr/bin/kde-open
+ elif [ -x /usr/bin/gnome-open ] ; then
MAILER = /usr/bin/gnome-open
elif [ -x /usr/bin/xdg-open ] ; then
MAILER = /usr/bin/xdg-open