We got into doing programming because it allowed us to make and modify games.
At my university CS class, a large number of the guys there had similar motivations. Now consider that the majority of video games were marketed towards males at that time and it's not difficult to see a link.
However these days with the rise of casual/social gaming and it becoming more socially acceptable for girls to play video games in general, combined with the fact that blogging and running webstores etc are popular with women we might actually start to see a steady organic shift as more women enter the industry.
In other words, I don't think it's entirely fair to blame the industry itself for everything. Sure, people who are doing things that will actively discourage women from entering the industry or make women already here feel bad about themselves in some way should stop doing that. OTOH when you have an industry that is 90% male it seems inevitable that it will cater to the male demographic first.