decompiler: Support sub-templates

Support GtkBuilderListItemFactory syntax by decompiling the nested XML,
rather than preserving it as a string literal.
This commit is contained in:
James Westman 2024-08-24 13:04:21 -05:00
parent 25d9826aea
commit 21d5ce86e9
6 changed files with 60 additions and 20 deletions

View file

@ -212,14 +212,8 @@ class TestSamples(unittest.TestCase):
SKIP_DECOMPILE = [
# Not implemented yet
"action_widgets",
# Not implemented yet
"gtkcolumnview",
# Comments are not preserved in either direction
"comments",
# Not implemented yet
"list_factory",
# Not implemented yet
"subscope",
]
if sample in REQUIRE_ADW_1_4 and not self.have_adw_1_4: