regedit: Merge accelerators into the main resource file.

This commit is contained in:
Alexandre Julliard 2011-12-19 20:13:45 +01:00
parent 50f785ef11
commit 3dc628c636
3 changed files with 16 additions and 51 deletions

View File

@ -1,47 +0,0 @@
/*
* Regedit resources
*
* Copyright 2002 Robert Dickenson
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "resource.h"
LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
IDC_REGEDIT ACCELERATORS
{
"^F", ID_EDIT_FIND
"^P", ID_REGISTRY_PRINT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY
VK_F2, ID_EDIT_RENAME, VIRTKEY
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY
VK_F5, ID_VIEW_REFRESH, VIRTKEY
}
/*****************************************************************/
/*
* TEXTINCLUDE
*/
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
/*****************************************************************/

View File

@ -18,10 +18,7 @@ C_SRCS = \
regproc.c \ regproc.c \
treeview.c treeview.c
RC_SRCS = \ RC_SRCS = regedit.rc
En.rc \
regedit.rc
PO_SRCS = regedit.rc PO_SRCS = regedit.rc
MANPAGE = regedit.man MANPAGE = regedit.man

View File

@ -311,6 +311,21 @@ BEGIN
PUSHBUTTON "Cancel",IDCANCEL,160,156,45,15,WS_GROUP PUSHBUTTON "Cancel",IDCANCEL,160,156,45,15,WS_GROUP
END END
/*
* Accelerators
*/
IDC_REGEDIT ACCELERATORS
{
"^F", ID_EDIT_FIND
"^P", ID_REGISTRY_PRINT
VK_DELETE, ID_EDIT_DELETE, VIRTKEY
VK_F1, ID_HELP_HELPTOPICS, VIRTKEY
VK_F2, ID_EDIT_RENAME, VIRTKEY
VK_F3, ID_EDIT_FINDNEXT, VIRTKEY
VK_F5, ID_VIEW_REFRESH, VIRTKEY
}
/* define language neutral resources */ /* define language neutral resources */
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL