[Avida-SVN] r1658 - branches/developers/avida-edward/source/python/AvidaGui2
kaben at myxo.css.msu.edu
kaben at myxo.css.msu.edu
Fri Jun 8 06:33:49 PDT 2007
Author: kaben
Date: 2007-06-08 09:33:49 -0400 (Fri, 08 Jun 2007)
New Revision: 1658
Modified:
branches/developers/avida-edward/source/python/AvidaGui2/
branches/developers/avida-edward/source/python/AvidaGui2/pyNavBarCtrl.py
Log:
r1668 at clearly: kaben | 2007-06-08 07:57:28 -0400
This demos discerning what's been dropped in the nav bar.
Property changes on: branches/developers/avida-edward/source/python/AvidaGui2
___________________________________________________________________
Name: svk:merge
- ef7795d3-e11b-4b79-8bcc-31c36a5bb0b4:/local/branches/developers/avida-edward/source/python/AvidaGui2:1601
+ ef7795d3-e11b-4b79-8bcc-31c36a5bb0b4:/local/branches/developers/avida-edward/source/python/AvidaGui2:1668
Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyNavBarCtrl.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyNavBarCtrl.py 2007-06-08 13:33:44 UTC (rev 1657)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyNavBarCtrl.py 2007-06-08 13:33:49 UTC (rev 1658)
@@ -46,9 +46,13 @@
if ( QTextDrag.decode( e, dropped_item_name ) ) :
descr("in decode, dropped_item_name is: ", str(dropped_item_name)[:])
if dropped_item_name[:9] == 'organism.':
- descr("that was an organism")
+ descr("that was an organism dragged from the petri dish")
dropped_item_name = dropped_item_name[9:]
# self.FreezeOrganism(dropped_item_name)
+ elif dropped_item_name[-5:] == '.full':
+ descr("that was a populated dish dragged from the freezer")
+ elif dropped_item_name[-9:] == '.organism':
+ descr("that was an organism dragged from the freezer")
else:
pass
More information about the Avida-cvs
mailing list