[Avida-cvs] [avida-svn] r803 - branches/developers/avida-edward/source/python/AvidaGui2

avidaedward@myxo.css.msu.edu avidaedward at myxo.css.msu.edu
Wed Jul 5 08:26:10 PDT 2006


Author: avidaedward
Date: 2006-07-05 11:26:09 -0400 (Wed, 05 Jul 2006)
New Revision: 803

Modified:
   branches/developers/avida-edward/source/python/AvidaGui2/pyTaskDescriptionCtrl.py
Log:

Prepending task numbers in task descriptions in org scope.



Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyTaskDescriptionCtrl.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyTaskDescriptionCtrl.py	2006-07-05 15:23:50 UTC (rev 802)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyTaskDescriptionCtrl.py	2006-07-05 15:26:09 UTC (rev 803)
@@ -38,6 +38,6 @@
       tasks_frame = frames.m_tasks_info[frame_no]
       task_count = tasks_frame[task_num]
       self.setFont(task_count > 0 and self.bold_font or self.normal_font)
-      task_text = task_text + ": " + str(task_count)
+      task_text = str(task_num) + ' ' + task_text + ": " + str(task_count)
     self.setText("%s" % task_text)
 




More information about the Avida-cvs mailing list