changeset 56:d988ec9aa2f5

text_x_arnica: removed not used parameter: width and border_thick
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Wed, 04 Jun 2008 14:32:39 +0200
parents 1eb0c987a260
children 7f56d8a670da
files data/plugin/parser/text_x_arnica.py
diffstat 1 files changed, 2 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py	Wed Jun 04 14:21:02 2008 +0200
+++ b/data/plugin/parser/text_x_arnica.py	Wed Jun 04 14:32:39 2008 +0200
@@ -41,7 +41,7 @@
                  reverse_sort=False,
                  mode=int(1), only_items=False, template_itemlist=False,
                  album=False, album_name=u'album', front_image=u'',
-                 border_thick=int(1),  renew=False,
+                 renew=False,
                  thumbnail_width=int(128), webnail_width=int(640),
                  text_width=int(128)):
     """ macro to initialize all default parameters for arnica
@@ -69,7 +69,6 @@
     @param album_name: default is 'album' short name for the album.
     @param front_image:  Useful for album.  default is ''. The first image is shown in front
                          of the album and slideshow.
-    @param border_thick: default is 1 for thickness of the border
     @param renew: if set then all selected thumbnails_* and webnails_* are removed
                   and will be recreated
     @param thumbnail_width: default width of thumbnails is 128
@@ -86,7 +85,7 @@
                 reverse_sort,
                 mode, only_items, template_itemlist,
                 album, album_name, front_image,
-                border_thick, renew,
+                renew,
                 thumbnail_width, webnail_width,
                 text_width)
 
@@ -126,8 +125,6 @@
             keys, values = settings
             for i in range(len(keys)):
                 setattr(self, keys[i], values[i])
-            self.width = str(self.thumbnail_width + self.text_width)
-            self.outer_table_style = ' border="%d"' % self.border_thick
             self.init_settings = True
         except ValueError, err:
             msg = u"arnica: %s" % err.args[0]