changeset 28:60c0bcdf01ab

Unified parameter names of ProjectList and EntryList.
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 30 Aug 2010 09:02:06 +0200
parents 1a90a126c415
children f5426961a380
files ChangeLog getan/view.py
diffstat 2 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Mon Aug 30 08:17:58 2010 +0200
+++ b/ChangeLog	Mon Aug 30 09:02:06 2010 +0200
@@ -1,3 +1,8 @@
+2010-08-30  Ingo Weinzierl <ingo.weinzierl@intevation.de>
+
+	* getan/view.py: Bugfix: Unified parameter names in ProjectList - some
+	  changes in rev25 did not fit to the current parameter names (head, foot).
+
 2010-08-30  Ingo Weinzierl <ingo.weinzierl@intevation.de>
 
 	* getan/states.py,
--- a/getan/view.py	Mon Aug 30 08:17:58 2010 +0200
+++ b/getan/view.py	Mon Aug 30 09:02:06 2010 +0200
@@ -175,15 +175,15 @@
         self.controller   = controller
         self.raw_projects = rows
 
-        self.head       = urwid.LineBox(
+        self.header    = urwid.LineBox(
             urwid.AttrWrap(urwid.Text("\n%s\n" % PROJECTS_TITLE),'project_header'))
-        self.foot      = urwid.Edit()
-        self.rows  = [ProjectNode(x) for x in rows]
+        self.footer    = urwid.Edit()
+        self.rows      = [ProjectNode(x) for x in rows]
         self.listbox   = urwid.ListBox(urwid.SimpleListWalker(self.rows))
         self.body      = urwid.LineBox(urwid.Padding(urwid.AttrWrap(
             self.listbox, 'entries'),('fixed left',1),('fixed right',1)))
-        self.frame     = urwid.Frame(self.body, header=self.head,
-                                    footer=self.foot)
+        self.frame     = urwid.Frame(self.body, header=self.header,
+                                    footer=self.footer)
         self.update_focus(self.focused)
         self._total_time()
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)