The patch looks cleaner, but after testing it a while the applets' icons got invalid (non-flipped reflection, then the icon was only white area - invalid memory?!). I did see this behaviour on non-patched AWN too (though very rarely), but this now seemed to happen sooner after start.
Can you check the patch again, please? Maybe writing the set_temp_icon function from scratch would be best.
The patch looks cleaner, but after testing it a while the applets' icons got invalid (non-flipped reflection, then the icon was only white area - invalid memory?!). I did see this behaviour on non-patched AWN too (though very rarely), but this now seemed to happen sooner after start.
Can you check the patch again, please? Maybe writing the set_temp_icon function from scratch would be best.