From: buliabyak Date: Tue, 10 Jul 2007 20:29:40 +0000 (+0000) Subject: patch 1741941 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=7a89c51c55ff76499fab89b1104e8dd8395b661d;p=inkscape.git patch 1741941 --- diff --git a/share/extensions/lorem_ipsum.inx b/share/extensions/lorem_ipsum.inx index 6adc4a91a..5681cd62c 100644 --- a/share/extensions/lorem_ipsum.inx +++ b/share/extensions/lorem_ipsum.inx @@ -3,15 +3,16 @@ com.kaioa.lorem_ipsum lorem_ipsum.py inkex.py + <_param name="title" type="description">This effect creates the standard "Lorem Ipsum" pseudolatin placeholder text. If a flowed text is selected, Lorem Ipsum is added to it; otherwise a new flowed text object, the size of the page, is created in a new layer. 5 16 4 - - all - - - - + + all + + + + diff --git a/share/extensions/lorem_ipsum.py b/share/extensions/lorem_ipsum.py index 602b1eedf..f4e43108a 100644 --- a/share/extensions/lorem_ipsum.py +++ b/share/extensions/lorem_ipsum.py @@ -176,6 +176,7 @@ foo=[ class MyEffect(inkex.Effect): def __init__(self): inkex.Effect.__init__(self) + self.OptionParser.add_option("--title") self.OptionParser.add_option("-n", "--numberofparagraphs", action="store", type="int", dest="num", default=5,