diff orpg/mapper/miniatures_handler.py @ 59:5aff3ef1ae46 ornery-dev

New dev branch for Ornery Orc. Adds CSS styling to chat messages. Updates Update Manager to 0.7.1. Fixes problem with gametree and names. Adds a multi- line text entry, grows as you type more lines; not reactive to Shift-Enter, yet.
author sirebral
date Tue, 11 Aug 2009 17:48:30 -0500
parents 072ffc1d466f
children c54768cffbd4
line wrap: on
line diff
--- a/orpg/mapper/miniatures_handler.py	Sat Aug 08 00:25:33 2009 -0500
+++ b/orpg/mapper/miniatures_handler.py	Tue Aug 11 17:48:30 2009 -0500
@@ -358,7 +358,7 @@
 	    gametree = open_rpg.get_component('tree')
             node_xml = node_begin + min_xml + '</nodehandler>'
             #print "Sending this XML to insert_xml:" + node_xml
-            gametree.insert_xml(node_xml)
+            gametree.insert_xml(str(node_xml))
         elif id == MIN_SHOW_HIDE:
             if self.sel_rmin.hide:  self.sel_rmin.hide = 0
             else: self.sel_rmin.hide = 1