Comment 39 for bug 116080

Revision history for this message
In , Ambro (ambro) wrote :

Created an attachment (id=14895)
lnk file watcher plus my previous modifications

I've written some code to monitor .lnk files that are recorded to the registry. Right now I've added it do winemenubuilder because it has all the functions I need. This patch also includes all my previous modifications.

To try it out, first make sure my versions of wineshelllink and wineshellunlink are the first in PATH, and make sure wineshelllink is executable. After creating some start menu shortcuts, refresh your desktop so you see them (kde: kbuildsycoca). Then run "winemenubuilder -d" and leave it running. Now every time you delete a .lnk file from "c:\windows\profiles\all users\start menu", its menu entry will be removed. Again refresh the desktop to see the change.

The code could probably be added to explorer to avoid creating a new process. Anyway, what do you think about my approach?