language: Fix some issues with menus

Blueprint's handling of menus didn't line up with how GtkBuilder handles
them. The root <menu> element must have an ID and may not have
attributes, and menus may not be used inline in a property.
This commit is contained in:
James Westman 2022-03-12 23:55:41 -06:00
parent 93f2a27e35
commit bbad6988fa
No known key found for this signature in database
GPG key ID: CE2DBA0ADB654EA6
18 changed files with 52 additions and 53 deletions

View file

@ -31,6 +31,5 @@ from ..parser_utils import *
from ..xml_emitter import XmlEmitter
OBJECT_HOOKS = AnyOf()
OBJECT_CONTENT_HOOKS = AnyOf()
VALUE_HOOKS = AnyOf()