Bug 964861 - Don't update the toolbar state before it gets attached (r=bnicholson)
Backed out changeset b136d95a45b2 (bug 964861) for compilation errors