Cleaned up the menu bar a touch.

Added some alt-key accelerators, that sort of thing.
This commit is contained in:
Corollax
2010-11-03 02:47:20 -05:00
parent 053d106cd7
commit c1cb0e41c5
2 changed files with 4 additions and 4 deletions

2
eos

Submodule eos updated: 50cfd51f12...92007b0d59

View File

@@ -36,15 +36,15 @@ class MainMenuBar(wx.MenuBar):
fileMenu = wx.Menu()
self.Append(fileMenu, "&File")
fileMenu.Append(self.mainFrame.addTabId, "New fitting tab\tCTRL+T", "Close the currently open fit")
fileMenu.Append(self.mainFrame.closeTabId, "Close current fitting tab\tCTRL+W", "Close the currently open fit")
fileMenu.Append(self.mainFrame.addTabId, "&New Tab\tCTRL+T", "Open a new fitting tab")
fileMenu.Append(self.mainFrame.closeTabId, "&Close Tab\tCTRL+W", "Close the current fit")
fileMenu.AppendSeparator()
fileMenu.Append(self.backupFitsId, "&Backup fits", "Backup all fittings to a XML file")
fileMenu.Append(wx.ID_OPEN, "&Import\tCTRL+O", "Import a fit into pyfa.")
fileMenu.Append(wx.ID_SAVEAS, "&Export\tCTRL+S", "Export the fit to another format.")
fileMenu.AppendSeparator()
fileMenu.Append(wx.ID_EXIT)