Commit 0605d072 authored by CHARRAS's avatar CHARRAS
Browse files

No commit message

No commit message
parent 892b46c4
Loading
Loading
Loading
Loading
+11 −2
Original line number Original line Diff line number Diff line
@@ -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" ) );
+4 −0
Original line number Original line Diff line number Diff line
@@ -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") );
	}
	}
+1 −1
Original line number Original line Diff line number Diff line
@@ -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
;
;


+1 −1
Original line number Original line Diff line number Diff line
@@ -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,
+804 B (133 KiB)

File changed.

No diff preview for this file type.

Loading