Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ced6ca78
Commit
ced6ca78
authored
Mar 12, 2004
by
Dimitrie O. Paun
Committed by
Alexandre Julliard
Mar 12, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the FileSystem option from the drive configuration.
parent
af3fa1c4
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
3 additions
and
41 deletions
+3
-41
En.rc
programs/winecfg/En.rc
+0
-2
Es.rc
programs/winecfg/Es.rc
+0
-2
Pt.rc
programs/winecfg/Pt.rc
+0
-2
Ru.rc
programs/winecfg/Ru.rc
+0
-2
drive.c
programs/winecfg/drive.c
+3
-32
resource.h
programs/winecfg/resource.h
+0
-1
No files found.
programs/winecfg/En.rc
View file @
ced6ca78
...
...
@@ -153,8 +153,6 @@ BEGIN
COMBOBOX IDC_COMBO_LETTER,31,20,78,60,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "Browse...",IDC_BUTTON_BROWSE_PATH,154,5,40,13
COMBOBOX IDC_COMBO_NAMES,31,36,78,60,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_COMBO_TYPE,31,52,78,60,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
CONTROL "Autodetect from Device:",IDC_RADIO_AUTODETECT,"Button",
...
...
programs/winecfg/Es.rc
View file @
ced6ca78
...
...
@@ -155,8 +155,6 @@ BEGIN
COMBOBOX IDC_COMBO_LETTER,31,20,78,60,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "Examinar...",IDC_BUTTON_BROWSE_PATH,154,5,40,13
COMBOBOX IDC_COMBO_NAMES,31,36,78,60,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_COMBO_TYPE,31,52,78,60,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
CONTROL "Autodetectar desde dispositivo:",IDC_RADIO_AUTODETECT,"Button",
...
...
programs/winecfg/Pt.rc
View file @
ced6ca78
...
...
@@ -146,8 +146,6 @@ BEGIN
COMBOBOX IDC_COMBO_LETTER,31,20,78,60,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "Procurar...",IDC_BUTTON_BROWSE_PATH,154,5,40,13
COMBOBOX IDC_COMBO_NAMES,31,36,78,60,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_COMBO_TYPE,31,52,78,60,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
CONTROL "Autodetectar do dispositivo:",IDC_RADIO_AUTODETECT,"Button",
...
...
programs/winecfg/Ru.rc
View file @
ced6ca78
...
...
@@ -168,8 +168,6 @@ BEGIN
COMBOBOX IDC_COMBO_LETTER,31,20,78,60,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "...",IDC_BUTTON_BROWSE_PATH,154,5,40,13
COMBOBOX IDC_COMBO_NAMES,31,36,78,60,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
COMBOBOX IDC_COMBO_TYPE,31,52,78,60,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
CONTROL " :",IDC_RADIO_AUTODETECT,"Button",
...
...
programs/winecfg/drive.c
View file @
ced6ca78
...
...
@@ -88,8 +88,8 @@ void setDriveValue(char letter, const char *valueName, const char *newValue) {
/* copies a drive configuration branch */
void
copyDrive
(
char
srcLetter
,
char
destLetter
)
{
char
driveSection
[
sizeof
(
"Drive X"
)];
char
*
path
,
*
label
,
*
type
,
*
serial
,
*
fs
;
char
driveSection
[
sizeof
(
"Drive X"
)
+
1
];
char
*
path
,
*
label
,
*
type
,
*
serial
;
WINE_TRACE
(
"srcLetter=%c, destLetter=%c
\n
"
,
srcLetter
,
destLetter
);
...
...
@@ -98,24 +98,21 @@ void copyDrive(char srcLetter, char destLetter) {
label
=
getDriveValue
(
srcLetter
,
"Label"
);
type
=
getDriveValue
(
srcLetter
,
"Type"
);
serial
=
getDriveValue
(
srcLetter
,
"Serial"
);
fs
=
getDriveValue
(
srcLetter
,
"FileSystem"
);
sprintf
(
driveSection
,
"Drive %c"
,
destLetter
);
if
(
path
)
addTransaction
(
driveSection
,
"Path"
,
ACTION_SET
,
path
);
if
(
label
)
addTransaction
(
driveSection
,
"Label"
,
ACTION_SET
,
label
);
if
(
type
)
addTransaction
(
driveSection
,
"Type"
,
ACTION_SET
,
type
);
if
(
serial
)
addTransaction
(
driveSection
,
"Serial"
,
ACTION_SET
,
serial
);
if
(
fs
)
addTransaction
(
driveSection
,
"FileSystem"
,
ACTION_SET
,
fs
);
if
(
path
)
free
(
path
);
if
(
label
)
free
(
label
);
if
(
type
)
free
(
type
);
if
(
serial
)
free
(
serial
);
if
(
fs
)
free
(
fs
);
}
void
removeDrive
(
char
letter
)
{
char
driveSection
[
sizeof
(
"Drive X"
)];
char
driveSection
[
sizeof
(
"Drive X"
)
+
1
];
sprintf
(
driveSection
,
"Drive %c"
,
letter
);
addTransaction
(
driveSection
,
NULL
,
ACTION_REMOVE
,
NULL
);
}
...
...
@@ -258,14 +255,6 @@ static code_desc_pair type_pairs[] = {
};
#define DRIVE_TYPE_DEFAULT 1
static
code_desc_pair
fs_pairs
[]
=
{
{
"win95"
,
"Long file names"
},
{
"msdos"
,
"MS-DOS 8 character file names"
},
{
"unix"
,
"UNIX file names"
}
};
#define DRIVE_FS_DEFAULT 0
void
fill_drive_droplist
(
long
mask
,
char
currentLetter
,
HWND
hDlg
)
{
...
...
@@ -391,7 +380,6 @@ long drive_available_mask(char letter)
void
refreshDriveEditDialog
(
HWND
dialog
)
{
char
*
path
;
char
*
type
;
char
*
fs
;
char
*
serial
;
char
*
label
;
char
*
device
;
...
...
@@ -424,22 +412,6 @@ void refreshDriveEditDialog(HWND dialog) {
}
else
WINE_WARN
(
"no Type field?
\n
"
);
/* FileSystem name handling */
fs
=
getDriveValue
(
editWindowLetter
,
"FileSystem"
);
if
(
fs
)
{
for
(
i
=
0
,
selection
=-
1
;
i
<
sizeof
(
fs_pairs
)
/
sizeof
(
code_desc_pair
);
i
++
)
{
SendDlgItemMessage
(
dialog
,
IDC_COMBO_NAMES
,
CB_ADDSTRING
,
0
,
(
LPARAM
)
fs_pairs
[
i
].
sDesc
);
if
(
strcasecmp
(
fs_pairs
[
i
].
sCode
,
fs
)
==
0
){
selection
=
i
;
}
}
if
(
selection
==
-
1
)
selection
=
DRIVE_FS_DEFAULT
;
SendDlgItemMessage
(
dialog
,
IDC_COMBO_NAMES
,
CB_SETCURSEL
,
selection
,
0
);
}
else
WINE_WARN
(
"no FileSystem field?
\n
"
);
/* removeable media properties */
serial
=
getDriveValue
(
editWindowLetter
,
"Serial"
);
if
(
serial
)
{
...
...
@@ -475,7 +447,6 @@ void refreshDriveEditDialog(HWND dialog) {
if
(
path
)
free
(
path
);
if
(
type
)
free
(
type
);
if
(
fs
)
free
(
fs
);
if
(
serial
)
free
(
serial
);
if
(
label
)
free
(
label
);
if
(
device
)
free
(
device
);
...
...
programs/winecfg/resource.h
View file @
ced6ca78
...
...
@@ -98,7 +98,6 @@
#define IDC_EDIT_PATH 1061
#define IDC_EDIT_SERIAL 1062
#define IDC_COMBO_LETTER 1063
#define IDC_COMBO_NAMES 1064
#define IDC_COMBO_TYPE 1065
#define IDC_EDIT_DEVICE 1066
#define IDC_BUTTON_BROWSE_PATH 1067
...
...
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