diff orpg/main.py @ 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 dd4be4817377
children d1aff41c031b
line wrap: on
line diff
--- 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"))