ooo-build r14378 - in branches/ooo-build-2-4-1: . patches/src680



Author: rengelhard
Date: Tue Oct 21 21:12:49 2008
New Revision: 14378
URL: http://svn.gnome.org/viewvc/ooo-build?rev=14378&view=rev

Log:
2008-10-21  Rene Engelhard  <rene debian org>

        * patches/src680/sensible-browser.diff: use kde-open for mailto:
          URLs


Modified:
   branches/ooo-build-2-4-1/ChangeLog
   branches/ooo-build-2-4-1/patches/src680/sensible-browser.diff

Modified: branches/ooo-build-2-4-1/patches/src680/sensible-browser.diff
==============================================================================
--- branches/ooo-build-2-4-1/patches/src680/sensible-browser.diff	(original)
+++ branches/ooo-build-2-4-1/patches/src680/sensible-browser.diff	Tue Oct 21 21:12:49 2008
@@ -26,12 +26,16 @@
 diff -u -u -r1.2 kde-open-url.sh
 --- shell/source/unix/misc/kde-open-url.sh	10 May 2004 13:08:06 -0000	1.2
 +++ shell/source/unix/misc/kde-open-url.sh	6 Jun 2005 09:43:06 -0000
-@@ -51,9 +51,9 @@
+@@ -51,9 +51,13 @@
  
  # special handling for mailto: uris
  if echo $1 | grep '^mailto:' > /dev/null; then
 -  kmailservice "$1" &
-+  sensible-ooomua "$1" &
++  if which kde-open; do
++    kde-open "$1" &
++  else
++    kmailservice "$1" &
++  fi
  else
 -  kfmclient openURL "$1" &
 +  sensible-browser "$1" &



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]