[patch]: GtkBuilder does not accept an id for "item" elements
Submitted by Christian Schoenebeck
Assigned to GtkBuilder maintainers
Created attachment 364864 Accept id for item elements
I noticed that the current Gtk Builder XML parser does not accept an id for "item" elements. Please consider the attached patch to address this.
Background: it should be possible to query menu items at runtime to change their labels (text) at any time.
The attached patch is against Gtk+ 3.91.2, but can certainly be applied against latest git master head as well.
This issue should IMO be fixed before the first official Gtk+ 4 release, because otherwise it will be impossible to update i.e. the text of menu items at runtime using the Gtk+4 branch.
Patch 364864, "Accept id for item elements":