[2/4] winemenubuilder: record created shortcuts to registry

Ambroz Bizjak ambro at b4ever.net
Sun Nov 30 12:22:32 CST 2008


This patch makes winemenubuilder record created shortcuts to registry. For 
every shortcut, it creates a REG_MULTI_SZ value in 
HKLM/Software/Wine/WineMenuBuilder/Shortcuts. The name of the value is the 
absolute location of the .lnk/url file, and the value are two strings: 
location type (Desktop/Menu) and the logical location (for desktop shortcuts 
just the name, for menu shortcuts something like 
"Programs/SomeProgram/LaunchSomeProgram").
These two values provide enough information to remove the associated 
desktop/menu shortcut.
---
 programs/winemenubuilder/winemenubuilder.c |   75 
++++++++++++++++++++++++++++
 1 files changed, 75 insertions(+), 0 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: f865e3de08b05eec0895ab9ce54050eba79f55e8.diff
Type: text/x-patch
Size: 3441 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081130/4e9d6124/attachment-0001.bin 


More information about the wine-patches mailing list