I think it should be placed in the IconWindow.lua file, but you will need to change the second line to:
Code:
wIcon.DragBar = Deusdictum.UI.DragBar( wIcon, "{name of icon}" );
I would try it myself but I am on the way out the door for work. If it doesn't work I will figure it out for sure tonight.
If it does work, you will need to delete the section of code that handles moving the icon, it starts with:
Code:
wIcon.MouseMove = function (sender, args)