Kicad: Minor menubar changes
This commit is contained in:
parent
d5f5f5e719
commit
1e7275c712
|
@ -269,8 +269,8 @@ void KICAD_MANAGER_FRAME::ReCreateMenuBar()
|
||||||
fileMenu->AppendSeparator();
|
fileMenu->AppendSeparator();
|
||||||
wxMenu* importprjSubMenu = new wxMenu();
|
wxMenu* importprjSubMenu = new wxMenu();
|
||||||
|
|
||||||
AddMenuItem( importprjSubMenu, ID_IMPORT_EAGLE_PROJECT, _( "Eagle CAD..." ),
|
AddMenuItem( importprjSubMenu, ID_IMPORT_EAGLE_PROJECT, _( "EAGLE CAD..." ),
|
||||||
_( "Import Eagle CAD XML schematic and board" ),
|
_( "Import EAGLE CAD XML schematic and board" ),
|
||||||
KiBitmap( import_project_xpm ) );
|
KiBitmap( import_project_xpm ) );
|
||||||
|
|
||||||
|
|
||||||
|
@ -303,7 +303,7 @@ void KICAD_MANAGER_FRAME::ReCreateMenuBar()
|
||||||
// Quit
|
// Quit
|
||||||
AddMenuItem( fileMenu,
|
AddMenuItem( fileMenu,
|
||||||
wxID_EXIT,
|
wxID_EXIT,
|
||||||
_( "&Close" ),
|
_( "&Exit" ),
|
||||||
_( "Close KiCad" ),
|
_( "Close KiCad" ),
|
||||||
KiBitmap( exit_xpm ) );
|
KiBitmap( exit_xpm ) );
|
||||||
|
|
||||||
|
@ -316,6 +316,10 @@ void KICAD_MANAGER_FRAME::ReCreateMenuBar()
|
||||||
_( "Refresh project tree" ),
|
_( "Refresh project tree" ),
|
||||||
KiBitmap( reload_xpm ) );
|
KiBitmap( reload_xpm ) );
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
aParentMenu->AppendSeparator();
|
||||||
|
#endif
|
||||||
|
|
||||||
// Menu Browse:
|
// Menu Browse:
|
||||||
wxMenu* browseMenu = new wxMenu();
|
wxMenu* browseMenu = new wxMenu();
|
||||||
|
|
||||||
|
@ -385,18 +389,19 @@ void KICAD_MANAGER_FRAME::ReCreateMenuBar()
|
||||||
_( "PDF viewer preferences" ),
|
_( "PDF viewer preferences" ),
|
||||||
KiBitmap( datasheet_xpm ) );
|
KiBitmap( datasheet_xpm ) );
|
||||||
|
|
||||||
// Hotkey submenu
|
|
||||||
preferencesMenu->AppendSeparator();
|
preferencesMenu->AppendSeparator();
|
||||||
AddHotkeyConfigMenu( preferencesMenu );
|
|
||||||
|
|
||||||
// Language submenu
|
|
||||||
preferencesMenu->AppendSeparator();
|
|
||||||
Pgm().AddMenuLanguageList( preferencesMenu );
|
|
||||||
|
|
||||||
// Icons options submenu
|
// Icons options submenu
|
||||||
preferencesMenu->AppendSeparator();
|
|
||||||
AddMenuIconsOptions( preferencesMenu );
|
AddMenuIconsOptions( preferencesMenu );
|
||||||
|
|
||||||
|
preferencesMenu->AppendSeparator();
|
||||||
|
|
||||||
|
// Language submenu
|
||||||
|
Pgm().AddMenuLanguageList( preferencesMenu );
|
||||||
|
// Hotkey submenu
|
||||||
|
AddHotkeyConfigMenu( preferencesMenu );
|
||||||
|
|
||||||
|
|
||||||
// Menu Tools:
|
// Menu Tools:
|
||||||
wxMenu* toolsMenu = new wxMenu;
|
wxMenu* toolsMenu = new wxMenu;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue