Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
948278cb
Commit
948278cb
authored
May 31, 2017
by
Hugh McMaster
Committed by
Alexandre Julliard
May 31, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regedit: Never disable the 'Find' and 'Find Next' menu items.
Signed-off-by:
Hugh McMaster
<
hugh.mcmaster@outlook.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
2689792c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
framewnd.c
programs/regedit/framewnd.c
+0
-2
regedit.rc
programs/regedit/regedit.rc
+3
-3
No files found.
programs/regedit/framewnd.c
View file @
948278cb
...
...
@@ -146,8 +146,6 @@ static void UpdateMenuItems(HMENU hMenu) {
}
update_expand_or_collapse_item
(
hwndTV
,
selection
,
hMenu
);
EnableMenuItem
(
hMenu
,
ID_EDIT_FIND
,
MF_ENABLED
|
MF_BYCOMMAND
);
EnableMenuItem
(
hMenu
,
ID_EDIT_FINDNEXT
,
MF_ENABLED
|
MF_BYCOMMAND
);
EnableMenuItem
(
hMenu
,
ID_EDIT_MODIFY
,
(
bAllowEdit
?
MF_ENABLED
:
MF_GRAYED
)
|
MF_BYCOMMAND
);
EnableMenuItem
(
hMenu
,
ID_EDIT_DELETE
,
(
bAllowEdit
?
MF_ENABLED
:
MF_GRAYED
)
|
MF_BYCOMMAND
);
EnableMenuItem
(
hMenu
,
ID_EDIT_RENAME
,
(
bAllowEdit
?
MF_ENABLED
:
MF_GRAYED
)
|
MF_BYCOMMAND
);
...
...
programs/regedit/regedit.rc
View file @
948278cb
...
...
@@ -59,8 +59,8 @@ BEGIN
MENUITEM SEPARATOR
MENUITEM "&Copy Key Name", ID_EDIT_COPYKEYNAME
MENUITEM SEPARATOR
MENUITEM "&Find...\tCtrl+F", ID_EDIT_FIND
, GRAYED
MENUITEM "Find Ne&xt\tF3", ID_EDIT_FINDNEXT
, GRAYED
MENUITEM "&Find...\tCtrl+F", ID_EDIT_FIND
MENUITEM "Find Ne&xt\tF3", ID_EDIT_FINDNEXT
END
POPUP "&View"
BEGIN
...
...
@@ -105,7 +105,7 @@ BEGIN
MENUITEM "&Multi-String Value", ID_EDIT_NEW_MULTI_STRINGVALUE
MENUITEM "&Expandable String Value", ID_EDIT_NEW_EXPANDVALUE
END
MENUITEM "&Find...\tCtrl+F", ID_EDIT_FIND
, GRAYED
MENUITEM "&Find...\tCtrl+F", ID_EDIT_FIND
MENUITEM SEPARATOR
MENUITEM "&Delete\tDel", ID_EDIT_DELETE
MENUITEM "&Rename\tF2", ID_EDIT_RENAME
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment