RE-submit of kde3 support patch

Dustin Navea speeddymon at yahoo.com
Tue May 14 16:11:10 CDT 2002


i guess this one was accidentally ignored?  it seems
to have "disappeared into a silent featureless void"
;)

here it is again, it changes the patch i made for more
complete kde2 support (already committed) to check for
versions greater than or equal to 2 (which obviously
includes 3) and also adds a check for ~/Desktop inside
the check for ~/.kde2 (for the weird directory combo
~/.kde2 and ~/Desktop as opposed to ~/.kde2 and
~/Desktop2)

hopefully it is committed this time ;P

-Dustin

P.S. I have a full kde3 support patch waiting in the
wings until a distro ships with it, so i can test it out...

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
-------------- next part --------------
--- 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
 


More information about the wine-patches mailing list