@classmethod
def SaveProject(cctx, proj):
    """Save all changes"""
    book = cctx.frame.docBook
    for i in range(0, book.GetPageCount()):
        pane = book.GetPage(i)
        if hasattr(pane, '_object'):
            if pane._object.project == proj:
                pane.Commit()
    cctx.app.SaveProject(proj)
