I have written a program that runs from the unity launcher. In my preferences it would be useful for users to change the default icon of the .desktop launcher. I've set it up to change the file, but changes don't take effect until the user logs out and back in (or unity --replace).
Is there a simple way to trigger Unity to refresh its icons using python?