Mercurial > traipse_dev
comparison 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 |
comparison
equal
deleted
inserted
replaced
58:27e58b0483e7 | 59:5aff3ef1ae46 |
---|---|
356 else: node_begin += "Unnamed Miniature'" | 356 else: node_begin += "Unnamed Miniature'" |
357 node_begin += ">" | 357 node_begin += ">" |
358 gametree = open_rpg.get_component('tree') | 358 gametree = open_rpg.get_component('tree') |
359 node_xml = node_begin + min_xml + '</nodehandler>' | 359 node_xml = node_begin + min_xml + '</nodehandler>' |
360 #print "Sending this XML to insert_xml:" + node_xml | 360 #print "Sending this XML to insert_xml:" + node_xml |
361 gametree.insert_xml(node_xml) | 361 gametree.insert_xml(str(node_xml)) |
362 elif id == MIN_SHOW_HIDE: | 362 elif id == MIN_SHOW_HIDE: |
363 if self.sel_rmin.hide: self.sel_rmin.hide = 0 | 363 if self.sel_rmin.hide: self.sel_rmin.hide = 0 |
364 else: self.sel_rmin.hide = 1 | 364 else: self.sel_rmin.hide = 1 |
365 elif id == MIN_LOCK_UNLOCK: | 365 elif id == MIN_LOCK_UNLOCK: |
366 if self.sel_rmin.locked: self.sel_rmin.locked = False | 366 if self.sel_rmin.locked: self.sel_rmin.locked = False |