This commit is contained in:
parent
892b46c455
commit
0605d07263
|
@ -598,20 +598,29 @@ wxString ReturnHotkeyConfigFilePath( int choice )
|
|||
void AddHotkeyConfigMenu( wxMenu* menu )
|
||||
/***************************************/
|
||||
|
||||
/* add hotkey config options to a menu
|
||||
* @parm menu : initial menu
|
||||
/** add hotkey config options to a menu
|
||||
* @param menu : initial menu
|
||||
*/
|
||||
{
|
||||
wxMenuItem* item;
|
||||
|
||||
if( menu == NULL )
|
||||
return;
|
||||
|
||||
item = new wxMenuItem( menu, ID_PREFERENCES_HOTKEY_SHOW_CURRENT_LIST,
|
||||
_( "Show Current Hotkey List" ),
|
||||
_( "Show the current hotkey config" )
|
||||
);
|
||||
item->SetBitmap( info_xpm );
|
||||
menu->Append( item );
|
||||
|
||||
item = new wxMenuItem( menu, ID_PREFERENCES_CREATE_CONFIG_HOTKEYS,
|
||||
_( "Create Hotkey config file" ),
|
||||
_( "Create or Recreate the hotkey config file from current hotkey list" )
|
||||
);
|
||||
item->SetBitmap( save_setup_xpm );
|
||||
menu->Append( item );
|
||||
|
||||
item = new wxMenuItem( menu, ID_PREFERENCES_READ_CONFIG_HOTKEYS,
|
||||
_( "Reread Hotkey config file" ),
|
||||
_( "Reread the hotkey config file" ) );
|
||||
|
|
|
@ -101,6 +101,10 @@ wxString FullFileName;
|
|||
HandleHotkeyConfigMenuSelection( this, id );
|
||||
break;
|
||||
|
||||
case ID_PREFERENCES_HOTKEY_SHOW_CURRENT_LIST: // Display Current hotkey list for eeschema
|
||||
DisplayHotkeyList( this, s_Schematic_Hokeys_Descr );
|
||||
break;
|
||||
|
||||
default:
|
||||
DisplayError(this, wxT("WinEDA_SchematicFrame::Process_Config internal error") );
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
COMMON_GLOBL wxString g_BuildVersion
|
||||
#ifdef EDA_BASE
|
||||
(wxT("(2007-11-09)"))
|
||||
(wxT("(2007-11-14)"))
|
||||
#endif
|
||||
;
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ enum main_id {
|
|||
ID_PREFERENCES_EDIT_CONFIG_HOTKEYS,
|
||||
ID_PREFERENCES_HOTKEY_PATH_IS_HOME,
|
||||
ID_PREFERENCES_HOTKEY_PATH_IS_KICAD,
|
||||
ID_PREFERENCES_UNUSED1,
|
||||
ID_PREFERENCES_HOTKEY_SHOW_CURRENT_LIST,
|
||||
ID_PREFERENCES_UNUSED2,
|
||||
ID_PREFERENCES_UNUSED3,
|
||||
ID_CONFIG_AND_PREFERENCES_END,
|
||||
|
|
Binary file not shown.
1949
internat/fr/kicad.po
1949
internat/fr/kicad.po
File diff suppressed because it is too large
Load Diff
|
@ -111,6 +111,10 @@ wxString FullFileName;
|
|||
HandleHotkeyConfigMenuSelection( this, id );
|
||||
break;
|
||||
|
||||
case ID_PREFERENCES_HOTKEY_SHOW_CURRENT_LIST: // Display Current hotkey list for eeschema
|
||||
DisplayHotkeyList( this, s_Board_Editor_Hokeys_Descr );
|
||||
break;
|
||||
|
||||
default:
|
||||
DisplayError(this, wxT("WinEDA_PcbFrame::Process_Config internal error"));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue