Unclutter Inkscape UI
Remove "Settings" from the name of the parameter groups tabs
This commit is contained in:
parent
e4b85b2fc8
commit
fdc90ba20d
|
@ -91,9 +91,14 @@ class Boxes2INX:
|
|||
if not group._group_actions:
|
||||
continue
|
||||
prefix = getattr(group, "prefix", None)
|
||||
title = group.title
|
||||
if title.startswith("Settings for "):
|
||||
title = title[len("Settings for "):]
|
||||
if title.endswith(" Settings"):
|
||||
title = title[:-len(" Settings")]
|
||||
result.append("""
|
||||
<page name="%s" _gui-text="%s">
|
||||
""" % (groupid, group.title))
|
||||
""" % (groupid, title))
|
||||
for a in group._group_actions:
|
||||
if a.dest in ("input", "output", "format"):
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue