diff options
author | Benjamin Berg <benjamin@sipsolutions.net> | 2010-03-30 00:10:20 +0200 |
---|---|---|
committer | Benjamin Berg <benjamin@sipsolutions.net> | 2010-03-30 00:10:20 +0200 |
commit | bf22beb1883cfa2986fdf8a2c05a3b512290bec6 (patch) | |
tree | 499427aadc05a16cc712bf47ae7989625b71223d /render-icon-theme.py | |
parent | c8347d7f04270c24ee05ae7f8f163a1cb4308a37 (diff) | |
download | adwaita-icon-theme-bf22beb1883cfa2986fdf8a2c05a3b512290bec6.tar.gz |
Accept any layer whose name starts with "baseplate".
Diffstat (limited to 'render-icon-theme.py')
-rwxr-xr-x | render-icon-theme.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render-icon-theme.py b/render-icon-theme.py index 4e486d55b..0502a92c4 100755 --- a/render-icon-theme.py +++ b/render-icon-theme.py @@ -58,7 +58,7 @@ class ContentHandler(xml.sax.ContentHandler): return elif self.inside[-1] == self.SVG: if (name == "g" and attrs.has_key('inkscape:groupmode') and attrs.has_key('inkscape:label') - and attrs['inkscape:groupmode'] == 'layer' and attrs['inkscape:label'] == 'baseplate'): + and attrs['inkscape:groupmode'] == 'layer' and attrs['inkscape:label'].startswith('baseplate')): self.stack.append(self.LAYER) self.inside.append(self.LAYER) self.context = None |