[CMF-checkins] CVS: CMF/DCWorkflow - States.py:1.8 Transitions.py:1.9

Chris Withers chrisw@nipltd.com
Thu, 7 Nov 2002 06:25:27 -0500


Update of /cvs-repository/CMF/DCWorkflow
In directory cvs.zope.org:/tmp/cvs-serv10704

Modified Files:
	States.py Transitions.py 
Log Message:
Made descriptions for states and transitions more option. Should fix CMFCollector #88

=== CMF/DCWorkflow/States.py 1.7 => 1.8 ===
--- CMF/DCWorkflow/States.py:1.7	Thu Oct 24 11:04:50 2002
+++ CMF/DCWorkflow/States.py	Thu Nov  7 06:25:26 2002
@@ -104,7 +104,7 @@
                                      manage_tabs_message=manage_tabs_message,
                                      )
 
-    def setProperties(self, title='', description='', transitions=(), REQUEST=None):
+    def setProperties(self, title='', transitions=(), REQUEST=None, description=''):
         '''
         '''
         self.title = str(title)


=== CMF/DCWorkflow/Transitions.py 1.8 => 1.9 ===
--- CMF/DCWorkflow/Transitions.py:1.8	Thu Oct 24 11:04:50 2002
+++ CMF/DCWorkflow/Transitions.py	Thu Nov  7 06:25:26 2002
@@ -108,12 +108,12 @@
                                      manage_tabs_message=manage_tabs_message,
                                      )
 
-    def setProperties(self, title, description, new_state_id,
+    def setProperties(self, title, new_state_id,
                       trigger_type=TRIGGER_USER_ACTION, script_name='',
                       after_script_name='',
                       actbox_name='', actbox_url='',
                       actbox_category='workflow',
-                      props=None, REQUEST=None):
+                      props=None, REQUEST=None, description=''):
         '''
         '''
         self.title = str(title)