Hi,
Thanks for working on this. Getting this properly implemented should make Wine integrate much better with Unity and Gnome Shell environments.
Actually, in most cases just setting StartupWMClass would work, but I would want us using the full path to the executable first.
I did some work on this a while back, but I only ever got as far as putting in some of the propsys bits.
It seems like patches 3 and 4 didn't get through to the mailing list.