changeset 157:4553b724c57e

Add indent to the project class
author Björn Ricks <bjoern.ricks@intevation.de>
date Thu, 06 Dec 2012 14:52:40 +0100
parents 917ebd951741
children 626d50342094
files getan/view.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/getan/view.py	Thu Dec 06 14:52:20 2012 +0100
+++ b/getan/view.py	Thu Dec 06 14:52:40 2012 +0100
@@ -134,9 +134,10 @@
         (4, _('Day'))
     ]
 
-    def __init__(self, proj, mode=3):
+    def __init__(self, proj, mode=3, indent=0):
         self.selected   = False
         self.focus      = False
+        self.indent     = indent
         self.mode       = self.MODES[mode]
         self.item       = proj
         w               = self.update()
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)