changeset 335:a6d96bdc0598

text_x_arnica: renamed parameter show_title to show_album_title
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Tue, 20 Jan 2009 19:47:41 +0100
parents ff4d2f96a36b
children ec5f5632d911
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	Tue Jan 20 19:28:59 2009 +0100
+++ b/data/plugin/parser/text_x_arnica.py	Tue Jan 20 19:47:41 2009 +0100
@@ -26,7 +26,7 @@
 
 def arnica_settings(target_page=u'', columns=4, file_regex=u'.',
                     image_for_webnail=False,
-                    show_text=True, show_date=True, show_tools=False, show_title=True,
+                    show_text=True, show_date=True, show_tools=False, show_album_title=True,
                     sort_by=("name", "date", "alias"),
                     reverse_sort=False,
                     only_items=False, template_itemlist=False,
@@ -40,7 +40,7 @@
     @param file_regex: regex for selecting images
     @param image_for_webnail if set then the image is shown instead of the webnail
     @param show_text: default shows description
-    @param show_title: show album title
+    @param show_album_title: show album title
     @param show_date: default shows date from exif header, if available
     @param show_tools: default does not show the icon toolbar
     @param sort_by: default, sorts images by name, optional by date or by alias
@@ -221,7 +221,7 @@
         @param selected_images: ordered list of selected images
         """
         title = ""
-        if self.album and self.show_title:
+        if self.album and self.show_album_title:
             title = '<div class="title">%(n)d images (%(album_title)s)</div>' % {"n": len(self.arnica_image),
                                                         "album_title": self.album_title or self.pagename}
         html = """