Added SHELL linking of KDE2 desktop/menu entries.

This commit is contained in:
Marcus Meissner 2001-03-08 01:12:52 +00:00 committed by Alexandre Julliard
parent e0da54a09f
commit b686a90e75
1 changed files with 12 additions and 2 deletions

View File

@ -121,13 +121,23 @@ then
elif [ -d "$HOME/Desktop" ]
then
kde_entry > "$HOME/Desktop/$link.kdelnk"
# KDE 1.x kludge: wake up KDE, if we can find kfm running...
type kfmclient >/dev/null 2>/dev/null && \
ps u -C kfm >/dev/null 2>/dev/null && \
kfmclient refreshDesktop
fi
fi
if [ -d "$HOME/.kde2" ]
then
copy_icon "$HOME/.kde2/share/applnk/Wine"
if [ $mode = "menu" ]
then
gnome_entry > "$HOME/.kde/share/applnk/Wine/$link.desktop"
elif [ -d "$HOME/Desktop2" ]
then
gnome_entry > "$HOME/Desktop2/$link.desktop"
fi
fi