well, now that i have kde3 i can implement the menu/desktop icon functions for wineshelllink, and thats what i did...partially at least... the only thing i am missing is the check for ~/.kde3 i am waiting for mandrake 8.3/9.0 (ships with kde3) to implement it so i know what to put there... if your distro's post-shipment kde3 packages overwrite kde2, please contact me so I can implement this correctly, mandrake's allow you to run both, so i cant do it until 8.3 or 9.0... i have a diff created already with the ~/.kde3 check, but im not sure if it will be correct for shipping versions of the distros -Dustin P.S. this also adds a check for ~/Desktop when a ~/.kde2 directory exists, in case of a distro using ~/.kde2 and ~/Desktop instead of ~/.kde2 and ~/Desktop2 __________________________________________________ Do You Yahoo!? LAUNCH - Your Yahoo! Music Experience http://launch.yahoo.com
--- tools/wineshelllink Wed May 1 13:05:57 2002 +++ tools/wineshelllink.new Sat May 11 14:27:32 2002 @@ -162,7 +162,7 @@ kdeversion=`kde-config -v | grep KDE: | sed -n "s/^KDE: \([^.]*\)\..*$/\1/p"` fi - if [ $kdeversion = 2 ] + if [ $kdeversion >= 2 ] then copy_icon "$HOME/.kde/share/applnk/Wine" if [ $mode = "menu" ] @@ -200,12 +200,14 @@ if [ $mode = "menu" ] then gnome_entry > "$HOME/.kde2/share/applnk/Wine/$link.desktop" + elif [ -d "$HOME/Desktop" ] + then + gnome_entry > "$HOME/Desktop/$link.desktop" elif [ -d "$HOME/Desktop2" ] then gnome_entry > "$HOME/Desktop2/$link.desktop" fi fi - # Gnome