comparison orpg/gametree/nodehandlers/core.py @ 17:265b987cce4f ornery-orc

Traipse 'OpenRPG' {090813-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. **Announcement** Please download the location-patch.zip from http://www.assembla.com/wiki/show/traipse. The patch is ready to copy to your Traipse directory (includes files in their subfolders). The patch removes dependency on the OPENRPG_BASE system environment dictionary key. Update Summary: This update enhances the Updater tab. Player List and Game Server Menu Columns now have a minimum width and the software will refresh to that width on an update, if the column is too small. Also fixes problems with three character sheet nodes. *Arbitrary* fix to tool bar checks, docking passes tests though. Chat is now a multiline entry. CSS added to chat posts.
author sirebral
date Thu, 13 Aug 2009 13:14:10 -0500
parents 4385a7d0efd1
children 97265586402b
comparison
equal deleted inserted replaced
16:281ca8daa911 17:265b987cce4f
271 271
272 def on_save(self,evt): 272 def on_save(self,evt):
273 f = wx.FileDialog(self.tree,"Select a file", orpg.dirpath.dir_struct["user"],"","XML files (*.xml)|*.xml",wx.SAVE) 273 f = wx.FileDialog(self.tree,"Select a file", orpg.dirpath.dir_struct["user"],"","XML files (*.xml)|*.xml",wx.SAVE)
274 if f.ShowModal() == wx.ID_OK: 274 if f.ShowModal() == wx.ID_OK:
275 type = f.GetFilterIndex() 275 type = f.GetFilterIndex()
276 file = open(f.GetPath(),"w") 276 if f.GetPath()[:len(f.GetPath())-4] != '.xml': file = open(f.GetPath()+'.xml',"w")
277 else: file = open(f.GetPath(),"w")
277 file.write(self.toxml(1)) 278 file.write(self.toxml(1))
278 file.close() 279 file.close()
279 f.Destroy() 280 f.Destroy()
280 281
281 def get_design_panel(self,parent): 282 def get_design_panel(self,parent):