changeset 113:d126ba077c06

text_x_arnica: removed unused parameter text_width (forgotten to remove with mode2)
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Fri, 27 Jun 2008 08:38:18 +0200
parents 8438a033d483
children 295560b4f30b
files data/plugin/parser/text_x_arnica.py
diffstat 1 files changed, 2 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py	Fri Jun 27 08:32:00 2008 +0200
+++ b/data/plugin/parser/text_x_arnica.py	Fri Jun 27 08:38:18 2008 +0200
@@ -42,9 +42,8 @@
                  only_items=False, template_itemlist=False,
                  album=False, album_title=unicode, album_image=u'',
                  renew=False,
-                 thumbnail_width=wikiutil.UnitArgument('128', float, ['px', ], defaultunit='px'), 
-                 webnail_width=wikiutil.UnitArgument('640', float, ['px', ], defaultunit='px'),
-                 text_width=wikiutil.UnitArgument('140', float, ['px', 'em', 'pt', 'in', 'mm', '%'], defaultunit='px')):
+                 thumbnail_width=wikiutil.UnitArgument('128', float, ['px', ], defaultunit='px'),
+                 webnail_width=wikiutil.UnitArgument('640', float, ['px', ], defaultunit='px')):
     """ dummy macro to initialize all default parameters for arnica. The definition is checked for wrong input.
     @param target_page: page to read attachments from
     @param columns: number of columns for thumbnails
@@ -71,7 +70,6 @@
                   and will be recreated
     @param thumbnail_width: default width of thumbnails is 128px
     @param webnail_width: default width of webnail is 640px
-    @param text_width: default width of text is 140px
     """
     if thumbnail_width:
         if thumbnail_width[1] == 'px':
@@ -85,12 +83,6 @@
         else:
             webnail_width = '%g%s' % webnail_width
 
-    if text_width:
-        if text_width[1] == 'px':
-            text_width = '%dpx' % int(text_width[0])
-        else:
-            text_width = '%g%s' % text_width
-            
     return locals()
 
 # ToDo may be move to wikiutil