edit lecture: edit template hierarchy gtk 2: add cairo