I doubt it. They've shown questionable judgement merely by hiring Mayer, whose accomplishments at Google are not especially respected among those with inside knowledge, and whose priorities will shift wildly after she gives birth in October. The board will terminate her in 2013 after 7-8 lackluster months. Then they'll start shopping Yahoo to be broken up and sold as parts.
Surely you're not suggesting that she will be less capable to head Yahoo after she becomes a mother? The first few weeks / months are difficult, but after she adjusts to the 'new normal' that is parenthood, she should be right on track.