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
8b7661bd
Commit
8b7661bd
authored
Nov 19, 2006
by
Vitaliy Margolen
Committed by
Alexandre Julliard
Nov 21, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecfg: Remove some old dead code and associated language resources.
parent
05777166
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
139 deletions
+0
-139
Cs.rc
programs/winecfg/Cs.rc
+0
-29
It.rc
programs/winecfg/It.rc
+0
-29
Pt.rc
programs/winecfg/Pt.rc
+0
-33
driveui.c
programs/winecfg/driveui.c
+0
-46
resource.h
programs/winecfg/resource.h
+0
-2
No files found.
programs/winecfg/Cs.rc
View file @
8b7661bd
...
...
@@ -123,35 +123,6 @@ BEGIN
LTEXT "Varovn: Vypad to, e disk C nen definovn. Kliknte na 'Pidat...' a vytvote ho.", IDS_DRIVE_NO_C, 7,223,250,110
END
IDD_DRIVE_EDIT DIALOG DISCARDABLE 0, 0, 203, 169
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Konfigurace disk"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "&Ok",ID_BUTTON_OK,145,150,50,16
LTEXT "Psmeno:",IDC_STATIC,5,23,26,9
EDITTEXT IDC_EDIT_LABEL,63,108,78,13,ES_AUTOHSCROLL
LTEXT "Jmenovka:",IDC_STATIC_LABEL,33,111,29,12
LTEXT "Sriov slo:",IDC_STATIC_SERIAL,33,127,29,12
EDITTEXT IDC_EDIT_SERIAL,63,124,78,13,ES_AUTOHSCROLL
LTEXT "Typ:",IDC_STATIC_TYPE,5,39,21,10
EDITTEXT IDC_EDIT_PATH,31,5,117,13,ES_AUTOHSCROLL
LTEXT "Cesta:",IDC_STATIC,5,8,20,9
COMBOBOX IDC_COMBO_LETTER,31,20,77,60,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "Prochzet...",IDC_BUTTON_BROWSE_PATH,154,5,40,13
COMBOBOX IDC_COMBO_TYPE,31,36,77,60,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "Pokroil zobrazen",IDC_BUTTON_SHOW_HIDE_ADVANCED,134,34,60,16
CONTROL "Detekovat ze zazen:",IDC_RADIO_AUTODETECT,"Button",
BS_AUTORADIOBUTTON,21,69,93,10
EDITTEXT IDC_EDIT_DEVICE,33,79,108,13,ES_AUTOHSCROLL
PUSHBUTTON "Prochzet...",IDC_BUTTON_BROWSE_DEVICE,148,79,40,13
CONTROL "Piadit run:",IDC_RADIO_ASSIGN,"Button",
BS_AUTORADIOBUTTON,21,98,69,10
GROUPBOX "Jmenovka a sriov slo",IDC_BOX_LABELSERIAL,6,58,189,85
END
IDD_AUDIOCFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg"
...
...
programs/winecfg/It.rc
View file @
8b7661bd
...
...
@@ -118,35 +118,6 @@ BEGIN
LTEXT "ATTENZIONE: Non stato definito un driver C. Clicca su 'Aggiungi Driver' per aggiungerne uno.", IDS_DRIVE_NO_C, 7,223,250,110
END
IDD_DRIVE_EDIT DIALOG DISCARDABLE 0, 0, 203, 169
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Configurazone dei Drive"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "&Ok",ID_BUTTON_OK,145,150,50,16
LTEXT "Lettera:",IDC_STATIC,5,23,26,9
EDITTEXT IDC_EDIT_LABEL,63,108,78,13,ES_AUTOHSCROLL
LTEXT "Etichetta:",IDC_STATIC_LABEL,33,111,29,12
LTEXT "Seriale:",IDC_STATIC_SERIAL,33,127,29,12
EDITTEXT IDC_EDIT_SERIAL,63,124,78,13,ES_AUTOHSCROLL
LTEXT "Tipo:",IDC_STATIC_TYPE,5,39,21,10
EDITTEXT IDC_EDIT_PATH,31,5,117,13,ES_AUTOHSCROLL
LTEXT "Percorso:",IDC_STATIC,5,8,20,9
COMBOBOX IDC_COMBO_LETTER,31,20,77,60,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "Sfoglia...",IDC_BUTTON_BROWSE_PATH,154,5,40,13
COMBOBOX IDC_COMBO_TYPE,31,36,77,60,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "Mostra Avanzate",IDC_BUTTON_SHOW_HIDE_ADVANCED,134,34,60,16
CONTROL "Rileva automaticamente dal dispositivo:",IDC_RADIO_AUTODETECT,"Button",
BS_AUTORADIOBUTTON,21,69,93,10
EDITTEXT IDC_EDIT_DEVICE,33,79,108,13,ES_AUTOHSCROLL
PUSHBUTTON "Sfoglia...",IDC_BUTTON_BROWSE_DEVICE,148,79,40,13
CONTROL "Assegna manualmente:",IDC_RADIO_ASSIGN,"Button",
BS_AUTORADIOBUTTON,21,98,69,10
GROUPBOX "Etichetta e numero seriale",IDC_BOX_LABELSERIAL,6,58,189,85
END
IDD_AUDIOCFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg"
...
...
programs/winecfg/Pt.rc
View file @
8b7661bd
...
...
@@ -151,39 +151,6 @@ BEGIN
END
LANGUAGE LANG_PORTUGUESE, SUBLANG_NEUTRAL
IDD_DRIVE_EDIT DIALOG DISCARDABLE 0, 0, 203, 169
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Configurao de unidade"
FONT 8, "MS Shell Dlg"
BEGIN
DEFPUSHBUTTON "&OK",ID_BUTTON_OK,145,150,50,13
LTEXT "Letra:",IDC_STATIC,5,23,26,9
EDITTEXT IDC_EDIT_LABEL,63,114,78,13,ES_AUTOHSCROLL
LTEXT "Rtulo:",IDC_STATIC_LABEL,33,117,29,12
LTEXT "Srie:",IDC_STATIC_SERIAL,33,127,29,12
EDITTEXT IDC_EDIT_SERIAL,63,124,78,13,ES_AUTOHSCROLL
LTEXT "Tipo:",IDC_STATIC,5,54,21,10
EDITTEXT IDC_EDIT_PATH,31,5,117,13,ES_AUTOHSCROLL
LTEXT "Caminho:",IDC_STATIC,5,10,20,9
COMBOBOX IDC_COMBO_LETTER,31,20,77,60,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "Procurar...",IDC_BUTTON_BROWSE_PATH,154,5,40,13
COMBOBOX IDC_COMBO_TYPE,31,36,77,60,CBS_DROPDOWNLIST |
WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "Mostrar Avanado",IDC_BUTTON_SHOW_HIDE_ADVANCED,134,34,60,16
CONTROL "Autodetectar do dispositivo:",IDC_RADIO_AUTODETECT,"Button",
BS_AUTORADIOBUTTON,21,79,93,10
EDITTEXT IDC_EDIT_DEVICE,33,89,108,13,ES_AUTOHSCROLL
PUSHBUTTON "Procurar...",IDC_BUTTON_BROWSE_DEVICE,148,89,40,13
CONTROL "Associar manualmente:",IDC_RADIO_ASSIGN,"Button",
BS_AUTORADIOBUTTON,21,104,69,10
GROUPBOX "Rtulo e nmero de srie",IDC_BOX_LABELSERIAL,6,68,189,79
END
LANGUAGE LANG_PORTUGUESE, SUBLANG_DEFAULT
IDD_AUDIOCFG DIALOG DISCARDABLE 0, 0, 260, 250
...
...
programs/winecfg/driveui.c
View file @
8b7661bd
...
...
@@ -168,48 +168,6 @@ static const struct drive_typemap type_pairs[] = {
#define DRIVE_TYPE_DEFAULT 0
static
void
fill_drive_droplist
(
long
mask
,
char
curletter
,
HWND
dialog
)
{
int
i
;
int
selection
;
int
count
;
int
next_letter
;
char
sName
[
4
];
strcpy
(
sName
,
"A:"
);
for
(
i
=
0
,
count
=
0
,
selection
=
-
1
,
next_letter
=
-
1
;
i
<=
'Z'
-
'A'
;
++
i
)
{
if
(
mask
&
DRIVE_MASK_BIT
(
'A'
+
i
))
{
int
index
;
sName
[
0
]
=
'A'
+
i
;
index
=
SendDlgItemMessage
(
dialog
,
IDC_COMBO_LETTER
,
CB_ADDSTRING
,
0
,
(
LPARAM
)
sName
);
if
(
toupper
(
curletter
)
==
'A'
+
i
)
{
selection
=
count
;
}
if
(
i
>=
2
&&
next_letter
==
-
1
)
{
/* default drive is first one of C-Z */
next_letter
=
count
;
}
count
++
;
}
}
if
(
selection
==
-
1
)
{
selection
=
next_letter
;
}
SendDlgItemMessage
(
dialog
,
IDC_COMBO_LETTER
,
CB_SETCURSEL
,
selection
,
0
);
}
static
void
enable_labelserial_box
(
HWND
dialog
,
int
mode
)
{
WINE_TRACE
(
"mode=%d
\n
"
,
mode
);
...
...
@@ -444,9 +402,6 @@ static void update_controls(HWND dialog)
WINE_TRACE
(
"Updating sheet for drive %c
\n
"
,
current_drive
->
letter
);
/* Drive letters */
fill_drive_droplist
(
drive_available_mask
(
current_drive
->
letter
),
current_drive
->
letter
,
dialog
);
/* path */
path
=
current_drive
->
unixpath
;
WINE_TRACE
(
"set path control text to '%s'
\n
"
,
path
);
...
...
@@ -770,7 +725,6 @@ DriveDlgProc (HWND dialog, UINT msg, WPARAM wParam, LPARAM lParam)
if
(
HIWORD
(
wParam
)
!=
BN_CLICKED
)
break
;
item
=
SendMessage
(
GetDlgItem
(
dialog
,
IDC_LIST_DRIVES
),
LB_GETCURSEL
,
0
,
0
);
drive
=
(
struct
drive
*
)
SendMessage
(
GetDlgItem
(
dialog
,
IDC_LIST_DRIVES
),
LB_GETITEMDATA
,
item
,
0
);
/*DialogBoxParam(NULL, MAKEINTRESOURCE(IDD_DRIVE_EDIT), NULL, (DLGPROC) DriveEditDlgProc, (LPARAM) drive); */
break
;
case
IDC_BUTTON_AUTODETECT
:
...
...
programs/winecfg/resource.h
View file @
8b7661bd
...
...
@@ -50,7 +50,6 @@
#define IDD_GRAPHCFG 110
#define IDD_DLLCFG 111
#define IDD_DRIVECFG 112
#define IDD_DRIVE_EDIT 114
#define IDD_DESKTOP_INTEGRATION 115
#define IDB_WINE_LOGO 200
#define IDC_TABABOUT 1001
...
...
@@ -114,7 +113,6 @@
#define IDC_EDIT_LABEL 1060
#define IDC_EDIT_PATH 1061
#define IDC_EDIT_SERIAL 1062
#define IDC_COMBO_LETTER 1063
#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