[try 2] winemenubuilder, wineshelllink: move escaping code into wineshelllink

Vincent Povirk madewokherd+d41d at gmail.com
Thu Jun 19 22:13:17 CDT 2008


This change moves the escape functionality (replacing \ with \\) out
of winemenubuilder and into wineshelllink. The .desktop files
generated by winemenubuilder have the same contents as before.

Because escaping is a function of the .desktop file format, it makes
more sense for wineshelllink to do the escaping.

This will make a simpler fix possible for bug 13303 (which requires \
to be escaped as \\\\, but only in the Exec field of .desktop files),
and a similar approach will be needed in wineshelllink for bug 13963
(since paths may or may not need escaping depending on whether xml or
a .directory file is being written).

This is what I meant to send last time.

Vincent Povirk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-winemenubuilder-wineshelllink-move-escaping-code-i.patch
Type: text/x-diff
Size: 5466 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080619/d76181b9/attachment.patch 


More information about the wine-patches mailing list