From: JazzyNico Date: Mon, 6 Sep 2010 17:28:38 +0000 (+0200) Subject: Extensions. Consistency fix and UI improvements (Generate from path submenu). X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f1a3257bc5556c5b1f95ec2c6906f1309a390b2a;p=inkscape.git Extensions. Consistency fix and UI improvements (Generate from path submenu). --- diff --git a/share/extensions/extrude.inx b/share/extensions/extrude.inx index b282fe0d9..dfae5d825 100644 --- a/share/extensions/extrude.inx +++ b/share/extensions/extrude.inx @@ -4,15 +4,15 @@ org.greygreen.inkscape.effects.extrude extrude.py inkex.py - - <_option>Lines - <_option>Polygons - + + <_item>Lines + <_item>Polygons + path - - - + + + + + + + + diff --git a/share/extensions/pathalongpath.py b/share/extensions/pathalongpath.py index be2e5bc19..b39f29c3a 100644 --- a/share/extensions/pathalongpath.py +++ b/share/extensions/pathalongpath.py @@ -117,6 +117,10 @@ class PathAlongPath(pathmodifier.Diffeo): action="store", type="inkbool", dest="duplicate", default=False, help="duplicate pattern before deformation") + self.OptionParser.add_option("--tab", + action="store", type="string", + dest="tab", + help="The selected UI-tab when OK was pressed") def prepareSelectionList(self): diff --git a/share/extensions/pathscatter.inx b/share/extensions/pathscatter.inx index 19d2e0810..02d00a3ca 100644 --- a/share/extensions/pathscatter.inx +++ b/share/extensions/pathscatter.inx @@ -1,35 +1,41 @@ - <_name>Scatter - math.univ-lille1.barraud.pathScatter - pathmodifier.py - pathscatter.py - inkex.py - <_param name="title" type="description">This effect scatters a pattern along arbitrary "skeleton" paths. The pattern must be the topmost object in the selection. Groups of paths, shapes, clones are allowed. - false - false - 0.0 - 0.0 - 0.0 - false - - <_option value="move">Moved - <_option value="copy">Copied - <_option value="clone">Cloned - - true - false - - <_option value="rand">Randomly - <_option value="seq">Sequentially - - - all - - - - - + <_name>Scatter + math.univ-lille1.barraud.pathScatter + pathmodifier.py + pathscatter.py + inkex.py + + + false + false + 0.0 + 0.0 + 0.0 + false + + <_item value="move">Moved + <_item value="copy">Copied + <_item value="clone">Cloned + + true + false + + <_item value="rand">Randomly + <_item value="seq">Sequentially + + + + <_param name="title" type="description">This effect scatters a pattern along arbitrary "skeleton" paths. The pattern must be the topmost object in the selection. Groups of paths, shapes, clones are allowed. + + + + all + + + + + diff --git a/share/extensions/pathscatter.py b/share/extensions/pathscatter.py index a7a77e1ec..b8b8e31bc 100644 --- a/share/extensions/pathscatter.py +++ b/share/extensions/pathscatter.py @@ -142,6 +142,10 @@ class PathScatter(pathmodifier.Diffeo): action="store", type="string", dest="copymode", default="clone", help="duplicate pattern before deformation") + self.OptionParser.add_option("--tab", + action="store", type="string", + dest="tab", + help="The selected UI-tab when OK was pressed") def prepareSelectionList(self):