Curley's wife certainly doesn't endear herself to the men on the ranch. As the only woman, she is often the object of jokes and speculation, and Curley's jealous and erratic behavior doesn't help. Unfortunately, she puts the men in awkward positions, likes to flirt, and can regularly be seen as condescending. Her actions create her husband's reactions. This doesn't mean that she's looking to make the men appear bad..... it means that she's looking for attention. She is lonely.
In my opinion, Slim wouldn't view her situation as a case of prejudice against women. If Slim could say anything about her situation it would be to tell her husband he ought to pay a little more attention to the woman he married. Of course, that is my opinion.