From f35200eaed272a2cbb92331141c633b9739695de Mon Sep 17 00:00:00 2001 From: cncfanatics Date: Fri, 8 Oct 2010 11:20:56 +0200 Subject: [PATCH] Rename "Character" to "Windows" (need a better name, really) and add the damage pattern editor menu entry to it --- gui/mainMenuBar.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/gui/mainMenuBar.py b/gui/mainMenuBar.py index c581ef3b6..f6b9439a8 100644 --- a/gui/mainMenuBar.py +++ b/gui/mainMenuBar.py @@ -23,6 +23,7 @@ import bitmapLoader class MainMenuBar(wx.MenuBar): def __init__(self): self.characterEditorId = wx.NewId() + self.damagePatternEditorId = wx.NewId() wx.MenuBar.__init__(self) @@ -46,12 +47,15 @@ class MainMenuBar(wx.MenuBar): fitMenu.Append(wx.ID_SAVEAS, "&Export", "Export the fit to another format.") # Character menu - charMenu = wx.Menu() - self.Append(charMenu, "&Character") + windowMenu = wx.Menu() + self.Append(windowMenu, "&Windows") - charEditItem = wx.MenuItem(charMenu, self.characterEditorId, "Character &Editor\tCTRL+E") + charEditItem = wx.MenuItem(windowMenu, self.characterEditorId, "&Character Editor\tCTRL+E") charEditItem.SetBitmap(bitmapLoader.getBitmap("character_small", "icons")) - charMenu.AppendItem(charEditItem) + windowMenu.AppendItem(charEditItem) + + damagePatternEditItem = wx.MenuItem(windowMenu, self.damagePatternEditorId, "Damage Pattern Editor\tCTRL+D") + windowMenu.AppendItem(damagePatternEditItem) # Help menu helpMenu = wx.Menu()