Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 186028
Collapse All | Expand All

(-)/usr/kde/3.5/bin/kdeeject.orig (-1 / +4 lines)
Lines 25-31 Link Here
25
      # Warning, it has to be either eject 2.0.x or >=2.1.5
25
      # Warning, it has to be either eject 2.0.x or >=2.1.5
26
      # Otherwise it doesn't work as expected (it requires a
26
      # Otherwise it doesn't work as expected (it requires a
27
      # fstab entry for no reason).
27
      # fstab entry for no reason).
28
      eject $1 >/dev/null 2>&1
28
      #eject $1 >/dev/null 2>&1
29
      BLOCK_UDI=$(dcop kded mediamanager properties "$1" | head -1)
30
      [ -n "$BLOCK_UDI" ] || kdialog --title "KDE Eject" --error "Can't find UDI for URL $1"
31
      dbus-send --system --dest=org.freedesktop.Hal "$BLOCK_UDI" org.freedesktop.Hal.Device.Volume.Eject array:string:"" >/dev/null 2>&1
29
      ;;
32
      ;;
30
  esac
33
  esac
31
  if test $? -eq 0; then
34
  if test $? -eq 0; then

Return to bug 186028