In order to change the company's product trajectory, culture, and perception there are many stages that they must go through to get to the ultimate goal. At this point in time, Yahoo does not have the public perception that they are a cool company to work for, especially for engineers. This makes it a near impossible task to attract the talent necessary for internal innovation. However, if they buy cool companies, show that they are working on things internally (Flickr redesign), and prove that management is competent, they will be able to transition to internal innovation.
Of course, it is a big jump to go from buying companies to transforming their culture to match the perception that they are attempting to create. Perhaps removing the ability to work remotely was a bad first step, perhaps not. I imagine that Mayer knew what she was doing here and it will likely turn out to be a positive move. The big question is what other steps they take internally to truly change the culture. It could be a big flop, but if anybody knows a little something about company culture it would be Mayer.