[Avida-cvs] [avida-svn] r751 - branches/developers/avida-edward/source/python/AvidaGui2
jclune@myxo.css.msu.edu
jclune at myxo.css.msu.edu
Thu Jun 15 13:46:36 PDT 2006
Author: jclune
Date: 2006-06-15 16:46:36 -0400 (Thu, 15 Jun 2006)
New Revision: 751
Modified:
branches/developers/avida-edward/source/python/AvidaGui2/pyOnePop_PetriDishCtrl.py
branches/developers/avida-edward/source/python/AvidaGui2/pyPetriConfigureCtrl.py
Log:
Toggling the petri dish now send the initialize signal which paints the screen...except on boot up
Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyOnePop_PetriDishCtrl.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyOnePop_PetriDishCtrl.py 2006-06-15 20:38:43 UTC (rev 750)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyOnePop_PetriDishCtrl.py 2006-06-15 20:46:36 UTC (rev 751)
@@ -105,6 +105,10 @@
QToolTip.remove(self.m_petri_dish_toggle)
QToolTip.add(self.m_petri_dish_toggle,
"Flip to see the <b><i>Environmental Settings</i></b>")
+ self.m_session_mdl.m_session_mdtr.emit(
+ PYSIGNAL("doInitializeAvidaPhaseISig"),
+ (self.m_session_mdl.m_tempdir,))
+
def MakeConfigVisiableSlot (self):
if self.dishDisabled:
Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyPetriConfigureCtrl.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyPetriConfigureCtrl.py 2006-06-15 20:38:43 UTC (rev 750)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyPetriConfigureCtrl.py 2006-06-15 20:46:36 UTC (rev 751)
@@ -62,7 +62,7 @@
self.connect(self.m_session_mdl.m_session_mdtr,
PYSIGNAL("FillDishSig"), self.FillDishSlot)
self.connect(self.m_session_mdl.m_session_mdtr,
- PYSIGNAL("doInitializeAvidaPhaseISig"), self.DisablePetriConfigureSlot)
+ PYSIGNAL("doStartAvidaSig"), self.DisablePetriConfigureSlot)
self.connect(self.m_session_mdl.m_session_mdtr,
PYSIGNAL("doEnablePetriDishSig"), self.EnablePetriConfigureSlot)
self.connect(self.m_session_mdl.m_session_mdtr,
@@ -110,7 +110,7 @@
self.disconnect(self.m_session_mdl.m_session_mdtr,
PYSIGNAL("FillDishSig"), self.FillDishSlot)
self.disconnect(self.m_session_mdl.m_session_mdtr,
- PYSIGNAL("doInitializeAvidaPhaseISig"), self.DisablePetriConfigureSlot)
+ PYSIGNAL("doStartAvidaSig"), self.DisablePetriConfigureSlot)
self.disconnect(self.m_session_mdl.m_session_mdtr,
PYSIGNAL("doEnablePetriDishSig"), self.EnablePetriConfigureSlot)
self.disconnect(self.m_session_mdl.m_session_mdtr,
More information about the Avida-cvs
mailing list