changeset 106:93ddff1a23ed

text_x_arnica: renamed html_preview to html_arrange_thumbnails
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Thu, 26 Jun 2008 14:10:19 +0200
parents 827946df0d9c
children 0ea5b9461351
files data/plugin/parser/text_x_arnica.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py	Thu Jun 26 14:06:38 2008 +0200
+++ b/data/plugin/parser/text_x_arnica.py	Thu Jun 26 14:10:19 2008 +0200
@@ -247,7 +247,7 @@
                     "this_alias": self.to_wikitext(self.description[idx])}
         return text
 
-    def html_preview(self, idx):
+    def html_arrange_thumbnails(self, idx):
         """ defines arrangement of thumbnail, text, date and tools """
         title = ""
         if self.album:
@@ -498,7 +498,7 @@
                 self.webimg = self.web
                 if self.image_for_webnail:
                     self.webimg = self.full
-                text = self.html_preview(i)
+                text = self.html_arrange_thumbnails(i)
                 if col_count <= COLUMNS:
                     result.append(''.join(text))
                 if col_count == COLUMNS:
@@ -518,7 +518,7 @@
                 self.webimg = self.web
                 if self.image_for_webnail:
                     self.webimg = self.full
-                text = self.html_preview(i)
+                text = self.html_arrange_thumbnails(i)
             except ValueError:
                 text = _("You can't use as album image: '%(album_image)s' because it is not listed in only_items!") % {"album_image": album_image, }
             result.append(''.join(text))