diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-04-30 16:14:35 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-04-30 16:14:35 +0200 |
commit | b78e16f99d1427435bd887800482061e5df53cdf (patch) | |
tree | d23f3253db25e6699cafa725179c078073873a0c /shell | |
parent | 59ff796a52bacec17f054ccdafd546680439f8c6 (diff) |
be even smarter in the mailto handler :)
Diffstat (limited to 'shell')
-rwxr-xr-x | shell/source/unix/misc/senddoc.sh | 4 |
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 |