changeset 24:07ebe8916b7e ornery-orc

Traipse 'OpenRPG' {090830-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: Fix to Text node.
author sirebral
date Sun, 30 Aug 2009 18:10:15 -0500
parents 8b168989c344
children baee049045be
files orpg/gametree/nodehandlers/forms.py orpg/orpg_version.py
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/orpg/gametree/nodehandlers/forms.py	Thu Aug 27 01:28:11 2009 -0500
+++ b/orpg/gametree/nodehandlers/forms.py	Sun Aug 30 18:10:15 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):
--- a/orpg/orpg_version.py	Thu Aug 27 01:28:11 2009 -0500
+++ b/orpg/orpg_version.py	Sun Aug 30 18:10:15 2009 -0500
@@ -4,7 +4,7 @@
 #BUILD NUMBER FORMAT: "YYMMDD-##" where ## is the incremental daily build index (if needed)
 DISTRO = "Traipse"
 DIS_VER = "Ornery Orc"
-BUILD = "090827-04"
+BUILD = "090830-00"
 
 # This version is for network capability.
 PROTOCOL_VERSION = "1.2"