Mercurial > traipse_dev
diff orpg/gametree/nodehandlers/forms.py @ 83:f38df4bf9715 alpha
Traipse Alpha 'OpenRPG' {090909-00}
Traipse is a distribution of OpenRPG that is designed to be easy to setup and go. Traipse also makes it easy for developers to work on code without fear of sacrifice. 'Ornery-Orc' continues the trend of 'Grumpy' and adds fixes to the code. 'Ornery-Orc''s main goal is to offer more advanced features and enhance the productivity of the user.
Update Summary:
Fixes problems with Text nodes. Fixes log problem in Fog. Fixes Mini Lib loading problem. Fixes problem with whispers in Alias Lib.
Creates new Alpha Branch.
author | sirebral |
---|---|
date | Wed, 09 Sep 2009 17:11:39 -0500 |
parents | 449a8900f9ac |
children | eb1b275699c4 |
line wrap: on
line diff
--- a/orpg/gametree/nodehandlers/forms.py Thu Aug 27 00:51:22 2009 -0500 +++ b/orpg/gametree/nodehandlers/forms.py Wed Sep 09 17:11:39 2009 -0500 @@ -28,7 +28,8 @@ __version__ = "$Id: forms.py,v 1.53 2007/04/21 23:00:51 digitalxero Exp $" -from containers import * +from containers import * +from orpg.orpg_xml import xml from wx.lib.scrolledpanel import ScrolledPanel def bool2int(b): @@ -285,7 +286,7 @@ def on_text(self,evt): txt = self.text.GetValue() - txt = strip_text(txt) + txt = xml.strip_text(txt) self.handler.text._set_nodeValue(txt) def on_send(self,evt): @@ -364,7 +365,7 @@ self.handler.rename(txt) if id == F_TEXT: txt = self.text.GetValue() - txt = strip_text(txt) + txt = xml.strip_text(txt) self.handler.text._set_nodeValue(txt) def on_button(self,evt):