changeset 86:bdbeafcb2ef4 alpha

Traipse Alpha 'OpenRPG' {090917-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: Adds menu changes to draw attention to important updates, errors, or other events. (image info coming soon) Traipse URL is not included in the repos tab and is set as default.
author sirebral
date Thu, 17 Sep 2009 01:14:48 -0500
parents f38df4bf9715
children eb1b275699c4
files images/spotlight.png orpg/main.py orpg/orpg_version.py orpg/tools/orpg_log.py upmana/default_manifest.xml
diffstat 5 files changed, 30 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
Binary file images/spotlight.png has changed
--- a/orpg/main.py	Wed Sep 09 17:11:39 2009 -0500
+++ b/orpg/main.py	Thu Sep 17 01:14:48 2009 -0500
@@ -268,9 +268,9 @@
         self.Bind(wx.EVT_MENU, self.OnMB_UpdateManagerPanel, mana)
         self.traipseSuite.AppendItem(mana)
 
-        debugger = wx.MenuItem(self.traipseSuite, -1, "Debug Console", "Debug Console")
-        self.Bind(wx.EVT_MENU, self.OnMB_DebugConsole, debugger)
-        self.traipseSuite.AppendItem(debugger)
+        self.debugConsole = wx.MenuItem(self.traipseSuite, -1, "Debug Console", "Debug Console")
+        self.Bind(wx.EVT_MENU, self.OnMB_DebugConsole, self.debugConsole)
+        self.traipseSuite.AppendItem(self.debugConsole)
        
 
     #################################
@@ -474,6 +474,12 @@
 
     @debugging
     def OnMB_DebugConsole(self, evt):
+        ## Alpha ##
+        self.traipseSuite.RemoveItem(self.debugConsole)
+        self.debugConsole.SetBitmap(wx.Bitmap(dir_struct["icon"] + 'clear.gif'))
+        self.traipseSuite.AppendItem(self.debugConsole)
+        self.mainmenu.Replace(8, self.traipseSuite, '&Traipse Suite')
+        ###########
         if self.debugger.IsShown() == True: self.debugger.Hide()
         else: self.debugger.Show()
 
@@ -645,7 +651,7 @@
         #Update Manager
         self.manifest = manifest.ManifestChanges()
         self.updateMana = upmana.updatemana.updaterFrame(self, 
-            "OpenRPG Update Manager Beta 0.7.2", component, self.manifest, True)
+            "OpenRPG Update Manager Beta 0.8", component, self.manifest, True)
         logger.debug("Menu Created")
         h = int(xml_dom.getAttribute("height"))
         w = int(xml_dom.getAttribute("width"))
--- a/orpg/orpg_version.py	Wed Sep 09 17:11:39 2009 -0500
+++ b/orpg/orpg_version.py	Thu Sep 17 01:14:48 2009 -0500
@@ -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 = "090909-00"
+BUILD = "090917-00"
 
 # This version is for network capability.
 PROTOCOL_VERSION = "1.2"
--- a/orpg/tools/orpg_log.py	Wed Sep 09 17:11:39 2009 -0500
+++ b/orpg/tools/orpg_log.py	Thu Sep 17 01:14:48 2009 -0500
@@ -54,7 +54,12 @@
     crash_report.close()
     logger.exception("Crash Report Created!!")
     logger.info("Printed out crash-report.txt in your System folder", True)
-    wx.MessageBox('Crash Report Created!', 'System Failure')
+    #component.get('frame').traipseSuite.SetTitle('&Traipse!!')
+    component.get('frame').mainmenu.Replace(8, component.get('frame').traipseSuite, '&Traipse Suite!')
+    component.get('frame').debugConsole.SetBitmap(wx.Bitmap(dir_struct["icon"] + 'spotlight.png'))
+    component.get('frame').traipseSuite.RemoveItem(component.get('frame').debugConsole)
+    component.get('frame').traipseSuite.AppendItem(component.get('frame').debugConsole)
+    #wx.MessageBox('Crash Report Created!', 'System Failure')
 
 class DebugConsole(wx.Frame):
     def __init__(self, parent):
--- a/upmana/default_manifest.xml	Wed Sep 09 17:11:39 2009 -0500
+++ b/upmana/default_manifest.xml	Thu Sep 17 01:14:48 2009 -0500
@@ -1,1 +1,13 @@
-<manifest></manifest>
+<manifest>
+	<updaterepo>
+		<repo-Traipse type="string">http://hg.assembla.com/traipse</repo-Traipse>
+		<default type="string">http://hg.assembla.com/traipse</default>
+	</updaterepo>
+	<UpdateManifest>
+		<repolist type="list">
+			<list>
+				<lobject type="str">repo-Traipse</lobject>
+			</list>
+		</repolist>
+	</UpdateManifest>
+</manifest>