summaryrefslogtreecommitdiff
path: root/shell/source/unix
diff options
context:
space:
mode:
authorBryan Quigley <gquigs@gmail.com>2015-12-02 00:02:59 -0500
committerMichael Stahl <mstahl@redhat.com>2015-12-17 13:56:22 +0000
commiteaa7f30102df4df01171e5daf83cdddae1bb0cda (patch)
tree30e11f649cf26ab238132a979146b8111bbb37f2 /shell/source/unix
parentb7842c93dc06b831d3fa649410ed847358ce9d17 (diff)
Remove gnome-open support
Gnome-open has been deprecate for some time. xdg-open replaces it. Change-Id: I7fc0f32a1f2fbadbe3d1cee58d0089213665c3a5 Reviewed-on: https://gerrit.libreoffice.org/20347 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'shell/source/unix')
-rwxr-xr-xshell/source/unix/misc/gnome-open-url.sh4
-rwxr-xr-xshell/source/unix/misc/senddoc.sh2
2 files changed, 0 insertions, 6 deletions
diff --git a/shell/source/unix/misc/gnome-open-url.sh b/shell/source/unix/misc/gnome-open-url.sh
deleted file mode 100755
index bffe6f27a783..000000000000
--- a/shell/source/unix/misc/gnome-open-url.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-
-# use xdg-open or gnome-open if available, falling back to our own open-url
-xdg-open "$1" 2>/dev/null || gnome-open "$1" 2>/dev/null || `dirname "$0"`/open-url "$1" 2>/dev/null
diff --git a/shell/source/unix/misc/senddoc.sh b/shell/source/unix/misc/senddoc.sh
index a6425462c70d..169af259f220 100755
--- a/shell/source/unix/misc/senddoc.sh
+++ b/shell/source/unix/misc/senddoc.sh
@@ -389,8 +389,6 @@ case `basename "$MAILER" | sed 's/-.*$//'` in
MAILER=${DESKTOP_LAUNCH}
elif [ -n "$KDE_FULL_SESSION" -a -x /usr/bin/kde-open ] ; then
MAILER=/usr/bin/kde-open
- elif [ -n "$GNOME_DESKTOP_SESSION_ID" -a -x /usr/bin/gnome-open ] ; then
- MAILER=/usr/bin/gnome-open
elif [ -x /usr/bin/xdg-open ] ; then
MAILER=/usr/bin/xdg-open
else