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