Module: wine
Branch: master
Commit: d9d4a06ca703fffa27c6d0a2e6220afe921a0bed
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d9d4a06ca703fffa27c6d0a2e…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Mon Dec 19 20:14:23 2011 +0100
wordpad: Merge accelerators into the main resource file.
---
programs/wordpad/En.rc | 45 ------------------------------------------
programs/wordpad/Makefile.in | 5 +---
programs/wordpad/wordpad.rc | 24 ++++++++++++++++++++++
3 files changed, 25 insertions(+), 49 deletions(-)
diff --git a/programs/wordpad/En.rc b/programs/wordpad/En.rc
deleted file mode 100644
index 8ce359b..0000000
--- a/programs/wordpad/En.rc
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Copyright 2004 by Krzysztof Foltman
- *
- * 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 "wordpad.h"
-
-LANGUAGE LANG_ENGLISH, SUBLANG_DEFAULT
-
-MAINACCELTABLE ACCELERATORS
-BEGIN
- "1", ID_BACK_1, VIRTKEY, CONTROL
- "2", ID_BACK_2, VIRTKEY, CONTROL
- "L", ID_ALIGN_LEFT, VIRTKEY, CONTROL
- "E", ID_ALIGN_CENTER, VIRTKEY, CONTROL
- "R", ID_ALIGN_RIGHT, VIRTKEY, CONTROL
- "F", ID_FIND, VIRTKEY, CONTROL
- VK_F3, ID_FIND_NEXT, VIRTKEY
- "H", ID_REPLACE, VIRTKEY, CONTROL
- "A", ID_EDIT_SELECTALL, VIRTKEY, CONTROL
- "X", ID_EDIT_CUT, VIRTKEY, CONTROL
- "C", ID_EDIT_COPY, VIRTKEY, CONTROL
- "Z", ID_EDIT_UNDO, VIRTKEY, CONTROL
- "Y", ID_EDIT_REDO, VIRTKEY, CONTROL
- "B", ID_FORMAT_BOLD, VIRTKEY, CONTROL
- "I", ID_FORMAT_ITALIC, VIRTKEY, CONTROL
- "U", ID_FORMAT_UNDERLINE,VIRTKEY, CONTROL
- "N", ID_FILE_NEW, VIRTKEY, CONTROL
- "O", ID_FILE_OPEN, VIRTKEY, CONTROL
- "S", ID_FILE_SAVE, VIRTKEY, CONTROL
- "P", ID_PRINT, VIRTKEY, CONTROL
-END
diff --git a/programs/wordpad/Makefile.in b/programs/wordpad/Makefile.in
index aef445c..07e2328 100644
--- a/programs/wordpad/Makefile.in
+++ b/programs/wordpad/Makefile.in
@@ -11,10 +11,7 @@ C_SRCS = \
registry.c \
wordpad.c
-RC_SRCS = \
- En.rc \
- wordpad.rc
-
+RC_SRCS = wordpad.rc
PO_SRCS = wordpad.rc
SVG_SRCS = \
diff --git a/programs/wordpad/wordpad.rc b/programs/wordpad/wordpad.rc
index 67e0562..7e0460a 100644
--- a/programs/wordpad/wordpad.rc
+++ b/programs/wordpad/wordpad.rc
@@ -265,6 +265,30 @@ BEGIN
LTEXT "", IDC_PAGEFMT_ID, 0,0,0,0
END
+MAINACCELTABLE ACCELERATORS
+BEGIN
+ "1", ID_BACK_1, VIRTKEY, CONTROL
+ "2", ID_BACK_2, VIRTKEY, CONTROL
+ "L", ID_ALIGN_LEFT, VIRTKEY, CONTROL
+ "E", ID_ALIGN_CENTER, VIRTKEY, CONTROL
+ "R", ID_ALIGN_RIGHT, VIRTKEY, CONTROL
+ "F", ID_FIND, VIRTKEY, CONTROL
+ VK_F3, ID_FIND_NEXT, VIRTKEY
+ "H", ID_REPLACE, VIRTKEY, CONTROL
+ "A", ID_EDIT_SELECTALL, VIRTKEY, CONTROL
+ "X", ID_EDIT_CUT, VIRTKEY, CONTROL
+ "C", ID_EDIT_COPY, VIRTKEY, CONTROL
+ "Z", ID_EDIT_UNDO, VIRTKEY, CONTROL
+ "Y", ID_EDIT_REDO, VIRTKEY, CONTROL
+ "B", ID_FORMAT_BOLD, VIRTKEY, CONTROL
+ "I", ID_FORMAT_ITALIC, VIRTKEY, CONTROL
+ "U", ID_FORMAT_UNDERLINE,VIRTKEY, CONTROL
+ "N", ID_FILE_NEW, VIRTKEY, CONTROL
+ "O", ID_FILE_OPEN, VIRTKEY, CONTROL
+ "S", ID_FILE_SAVE, VIRTKEY, CONTROL
+ "P", ID_PRINT, VIRTKEY, CONTROL
+END
+
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
/* @makedep: toolbar.bmp */
Module: wine
Branch: master
Commit: 0185c471ec3ffd90b5deed86087012afc4356873
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0185c471ec3ffd90b5deed860…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Mon Dec 19 20:14:11 2011 +0100
winefile: Merge accelerators into the main resource file.
---
programs/winefile/En.rc | 42 -----------------------------------------
programs/winefile/Makefile.in | 5 +---
programs/winefile/winefile.rc | 16 +++++++++++++++
3 files changed, 17 insertions(+), 46 deletions(-)
diff --git a/programs/winefile/En.rc b/programs/winefile/En.rc
deleted file mode 100644
index ea43a05..0000000
--- a/programs/winefile/En.rc
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * WineFile
- * English Language Support
- *
- * Copyright 2000 Martin Fuchs
- * Copyright 2002 Steven Edwards
- * Copyright 2002 Alexandre Julliard
- *
- * 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
-
-IDA_WINEFILE ACCELERATORS
-{
- VK_F1, ID_HELP, VIRTKEY
- VK_F5, ID_REFRESH, VIRTKEY
- VK_F7, ID_FILE_MOVE, VIRTKEY
- VK_F8, ID_FILE_COPY, VIRTKEY
- VK_DELETE, ID_FILE_DELETE, VIRTKEY
- VK_RETURN, ID_ACTIVATE, VIRTKEY
- VK_RETURN, ID_EDIT_PROPERTIES, VIRTKEY, ALT
-#ifndef _NO_EXTENSIONS
- "X", ID_FILE_EXIT, VIRTKEY, ALT
- "S", ID_VIEW_FULLSCREEN, VIRTKEY, SHIFT, CONTROL
- VK_ADD, ID_PREFERRED_SIZES, VIRTKEY, CONTROL
-#endif
-}
diff --git a/programs/winefile/Makefile.in b/programs/winefile/Makefile.in
index d6e085b..1b1ce0d 100644
--- a/programs/winefile/Makefile.in
+++ b/programs/winefile/Makefile.in
@@ -7,10 +7,7 @@ C_SRCS = \
splitpath.c \
winefile.c
-RC_SRCS = \
- En.rc \
- winefile.rc
-
+RC_SRCS = winefile.rc
PO_SRCS = winefile.rc
MANPAGE = winefile.man
diff --git a/programs/winefile/winefile.rc b/programs/winefile/winefile.rc
index 2384f3f..39686d8 100644
--- a/programs/winefile/winefile.rc
+++ b/programs/winefile/winefile.rc
@@ -188,6 +188,22 @@ BEGIN
PUSHBUTTON "Cancel",IDCANCEL,191,110,50,14
END
+IDA_WINEFILE ACCELERATORS
+{
+ VK_F1, ID_HELP, VIRTKEY
+ VK_F5, ID_REFRESH, VIRTKEY
+ VK_F7, ID_FILE_MOVE, VIRTKEY
+ VK_F8, ID_FILE_COPY, VIRTKEY
+ VK_DELETE, ID_FILE_DELETE, VIRTKEY
+ VK_RETURN, ID_ACTIVATE, VIRTKEY
+ VK_RETURN, ID_EDIT_PROPERTIES, VIRTKEY, ALT
+#ifndef _NO_EXTENSIONS
+ "X", ID_FILE_EXIT, VIRTKEY, ALT
+ "S", ID_VIEW_FULLSCREEN, VIRTKEY, SHIFT, CONTROL
+ VK_ADD, ID_PREFERRED_SIZES, VIRTKEY, CONTROL
+#endif
+}
+
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
/* @makedep: winefile.ico */
Module: wine
Branch: master
Commit: 3dc628c63685a182accba2c77a8c2b80786a634d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3dc628c63685a182accba2c77…
Author: Alexandre Julliard <julliard(a)winehq.org>
Date: Mon Dec 19 20:13:45 2011 +0100
regedit: Merge accelerators into the main resource file.
---
programs/regedit/En.rc | 47 ------------------------------------------
programs/regedit/Makefile.in | 5 +---
programs/regedit/regedit.rc | 15 +++++++++++++
3 files changed, 16 insertions(+), 51 deletions(-)
diff --git a/programs/regedit/En.rc b/programs/regedit/En.rc
deleted file mode 100644
index 60120e2..0000000
--- a/programs/regedit/En.rc
+++ /dev/null
@@ -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
-
-/*****************************************************************/
diff --git a/programs/regedit/Makefile.in b/programs/regedit/Makefile.in
index f512017..5d08ebf 100644
--- a/programs/regedit/Makefile.in
+++ b/programs/regedit/Makefile.in
@@ -18,10 +18,7 @@ C_SRCS = \
regproc.c \
treeview.c
-RC_SRCS = \
- En.rc \
- regedit.rc
-
+RC_SRCS = regedit.rc
PO_SRCS = regedit.rc
MANPAGE = regedit.man
diff --git a/programs/regedit/regedit.rc b/programs/regedit/regedit.rc
index ed080ad..4ddd3dc 100644
--- a/programs/regedit/regedit.rc
+++ b/programs/regedit/regedit.rc
@@ -311,6 +311,21 @@ BEGIN
PUSHBUTTON "Cancel",IDCANCEL,160,156,45,15,WS_GROUP
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 */
LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL