This is exactly why people need seperate offices.
Also, why would the guys wife even give a damn about any of this? Unless the naked pictures were of HER, in which case she might be mad he put them on his office computer. Hell, it's fine to look, as long as you are coming home to her in the evening and not participating.