Well, I tried the sample code in the archive and the icon is docking correctly, at least on Gnome 2.x and Gnome-Shell. However, I have to find a way to see if the position is correct...
By the way I'll try to compare this library with the one you coded and see what can be done to improve it but since I don't have that much time (and lack of knowledge in coding) you may finish it before

Anyway, I'll try to help a bit if I can
