Just one more thing I'm this: The patch I submitted *does* allow for creation of desktop icon on gnome desktop. However, after the "update-menu" command in the script is executed (line 158 in original script), the icon file disappears from $HOME/.gnome/apps/Wine leaving the gnome desktop file without an icon.

I fixed this also (without modifying rest of functionality) by changing the location in which the icon file for gnome is placed from "$HOME/.gnome/apps/Wine" to "$HOME/.menu/icons" (where update-menus saves icons).

The patch I've included encompasses both things that I've fixed so that if you apply this patch to the tools/wineshelllink file in the original 0.9.20-1 version wine will create desktop icons correctly (without altering anything else) on the gnome desktop.

I hope this can be of use.  Take care.

--
Sincerely
Jose Alburquerque

*** wineshelllink	2006-08-24 10:11:45.000000000 -0400
--- /usr/bin/wineshelllink	2006-10-24 16:14:53.000000000 -0400
*************** fi
*** 244,256 ****
  
  if [ -d "$HOME/.gnome" ]
  then
!   copy_icon "$HOME/.gnome/apps/Wine"
    if [ $mode = "menu" ]
    then
      gnome_entry > "$HOME/.gnome/apps/Wine/$link.desktop"
!   elif [ -d "$HOME/.gnome-desktop" ]
    then
!     gnome_entry > "$HOME/.gnome-desktop/$link.desktop"
    fi
  fi
  
--- 244,256 ----
  
  if [ -d "$HOME/.gnome" ]
  then
!   copy_icon "$HOME/.menu/icons"
    if [ $mode = "menu" ]
    then
      gnome_entry > "$HOME/.gnome/apps/Wine/$link.desktop"
!   elif [ -d "$HOME/Desktop" ]
    then
!     gnome_entry > "$HOME/Desktop/$link.desktop"
    fi
  fi
  

Reply via email to