changeset 126:e7f990be5075 alpha

Traipse Alpha 'OpenRPG' {091002-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 (Cleaning up for Beta) Added Bookmarks Fix to Remote Admin Commands Minor fix to text based Server Fix to Pretty Print, from Core Fix to Splitter Nodes not being created Fix to massive amounts of images loading, from Core Added 'boot' command to remote admin Added confirmation window for sent nodes Minor changes to allow for portability to an OpenSUSE linux OS Miniatures Layer pop up box allows users to turn off Mini labels, from FlexiRPG Zoom Mouse plugin added Images added to Plugin UI Switching to Element Tree Map efficiency, from FlexiRPG Added Status Bar to Update Manager default_manifest.xml renamed to default_upmana.xml Cleaner clode for saved repositories New TrueDebug Class in orpg_log (See documentation for usage) Mercurial's hgweb folder is ported to upmana Happy Halloween!
author sirebral
date Mon, 02 Nov 2009 11:50:00 -0600
parents ed4c3606ad1f
children 0f720618a8bd
files orpg/main.py orpg/orpg_version.py
diffstat 2 files changed, 8 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/orpg/main.py	Sun Nov 01 15:59:36 2009 -0600
+++ b/orpg/main.py	Mon Nov 02 11:50:00 2009 -0600
@@ -35,7 +35,7 @@
 from orpg.orpg_windows import *
 
 import wx.py
-from orpg import minidom
+#from orpg import minidom
 import orpg.player_list
 import orpg.tools.pluginui as pluginUI
 import orpg.tools.aliaslib
@@ -865,6 +865,7 @@
 
     
     def saveLayout(self):
+        filename = dir_struct["user"] + "layout.xml"
         layout = parse(dir_struct["user"] + "layout.xml")
         xml_dom = layout.getroot()
         (x_size,y_size) = self.GetClientSize()
@@ -878,16 +879,14 @@
         xml_dom.set("maximized", str(max))
         layout = xml_dom.findall("DockLayout")
         try:
-            textnode = xml.safe_get_text_node(layout[0])
-            textnode._set_nodeValue(str(self._mgr.SavePerspective()))
+            layout[0].text = str(self._mgr.SavePerspective())
         except:
-            elem = minidom.Element('DockLayout')
+            elem = Element('DockLayout')
             elem.set("DO_NO_EDIT","True")
-            textnode = xml.safe_get_text_node(elem)
-            textnode._set_nodeValue(str(self._mgr.SavePerspective()))
+            elem.text = str(self._mgr.SavePerspective())
             xml_dom.append(elem)
         temp_file = open(filename, "w")
-        temp_file.write(xml_dom.toxml(1))
+        temp_file.write(tostring(xml_dom))
         temp_file.close()
 
     
@@ -1184,7 +1183,7 @@
         component.add('validate', validate)
         component.add("tabbedWindows", [])
 
-	#Update Manager
+	    #Update Manager
         self.manifest = manifest.ManifestChanges()
 
         self.called = False
--- a/orpg/orpg_version.py	Sun Nov 01 15:59:36 2009 -0600
+++ b/orpg/orpg_version.py	Mon Nov 02 11:50:00 2009 -0600
@@ -4,7 +4,7 @@
 #BUILD NUMBER FORMAT: "YYMMDD-##" where ## is the incremental daily build index (if needed)
 DISTRO = "Traipse Alpha"
 DIS_VER = "Ornery Orc"
-BUILD = "091001-02"
+BUILD = "091002-00"
 
 # This version is for network capability.
 PROTOCOL_VERSION = "1.2"