[1/4] winemenubuilder: move path normalization to Process_Link and Process_URL

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


These patches solve bug 10277 (Uninstalling software does not remove them from 
Programs menu).
I've implemented a service that watches over known .lnk/url files, and when it 
finds a deleted file, it removes corresponding desktop/menu shortcuts from the 
user's shell. Therefore, when some uninstaller removes the shortcuts, they 
will also disappear in the user's shell.
To allow that, I've modified winemenubuilder to record created shortcuts to 
registry, and my service will obtain and maintain the list of .lnk/url files 
from there.

This patch simplifies .lnk/url path normalization so that the normalized path 
is known and can be recorded to registry.
---
 programs/winemenubuilder/winemenubuilder.c |   43 
+++++++++++++++++-----------
 1 files changed, 26 insertions(+), 17 deletions(-)




-------------- next part --------------
A non-text attachment was scrubbed...
Name: 79df3e4088189c7aae0e18b210d6aff81bcfbc02.diff
Type: text/x-patch
Size: 3539 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20081130/72da6639/attachment-0001.bin 


More information about the wine-patches mailing list