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
5211e49e
Commit
5211e49e
authored
May 19, 2005
by
James Hawkins
Committed by
Alexandre Julliard
May 19, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Load Show/Hide Advanced strings from resources.
parent
34955b95
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
4 deletions
+7
-4
En.rc
programs/winecfg/En.rc
+2
-0
driveui.c
programs/winecfg/driveui.c
+3
-4
resource.h
programs/winecfg/resource.h
+2
-0
No files found.
programs/winecfg/En.rc
View file @
5211e49e
...
...
@@ -148,4 +148,6 @@ BEGIN
IDS_TAB_DLLS "Libraries"
IDS_TAB_DRIVES "Drives"
IDS_CHOOSE_PATH "Select the unix directory to be mapped, please."
IDS_HIDE_ADVANCED "Hide Advanced"
IDS_SHOW_ADVANCED "Show Advanced"
END
programs/winecfg/driveui.c
View file @
5211e49e
...
...
@@ -96,19 +96,18 @@ static void lv_get_item(HWND dialog, LVITEM *item)
static
void
set_advanced
(
HWND
dialog
)
{
int
state
;
char
*
text
;
char
text
[
256
]
;
RECT
rect
;
/* FIXME: internationalization */
if
(
advanced
)
{
state
=
SW_NORMAL
;
text
=
"&Hide Advanced"
;
LoadString
(
GetModuleHandle
(
NULL
),
IDS_SHOW_ADVANCED
,
text
,
256
)
;
}
else
{
state
=
SW_HIDE
;
text
=
"&Show Advanced"
;
LoadString
(
GetModuleHandle
(
NULL
),
IDS_HIDE_ADVANCED
,
text
,
256
)
;
}
ShowWindow
(
GetDlgItem
(
dialog
,
IDC_RADIO_AUTODETECT
),
state
);
...
...
programs/winecfg/resource.h
View file @
5211e49e
...
...
@@ -28,6 +28,8 @@
#define IDS_TAB_DLLS 3
#define IDS_TAB_DRIVES 4
#define IDS_CHOOSE_PATH 5
#define IDS_SHOW_ADVANCED 6
#define IDS_HIDE_ADVANCED 7
#define IDD_MAINDLG 101
#define IDB_WINE 104
#define IDD_ABOUTCFG 107
...
...
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