Commit 8b7661bd authored by Vitaliy Margolen's avatar Vitaliy Margolen Committed by Alexandre Julliard

winecfg: Remove some old dead code and associated language resources.

parent 05777166
...@@ -123,35 +123,6 @@ BEGIN ...@@ -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 LTEXT "Varovn: Vypad to, e disk C nen definovn. Kliknte na 'Pidat...' a vytvote ho.", IDS_DRIVE_NO_C, 7,223,250,110
END 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 IDD_AUDIOCFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg" FONT 8, "MS Shell Dlg"
......
...@@ -118,35 +118,6 @@ BEGIN ...@@ -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 LTEXT "ATTENZIONE: Non stato definito un driver C. Clicca su 'Aggiungi Driver' per aggiungerne uno.", IDS_DRIVE_NO_C, 7,223,250,110
END 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 IDD_AUDIOCFG DIALOG DISCARDABLE 0, 0, 260, 250
STYLE WS_CHILD | WS_DISABLED STYLE WS_CHILD | WS_DISABLED
FONT 8, "MS Shell Dlg" FONT 8, "MS Shell Dlg"
......
...@@ -151,39 +151,6 @@ BEGIN ...@@ -151,39 +151,6 @@ BEGIN
END 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 LANGUAGE LANG_PORTUGUESE, SUBLANG_DEFAULT
IDD_AUDIOCFG DIALOG DISCARDABLE 0, 0, 260, 250 IDD_AUDIOCFG DIALOG DISCARDABLE 0, 0, 260, 250
......
...@@ -168,48 +168,6 @@ static const struct drive_typemap type_pairs[] = { ...@@ -168,48 +168,6 @@ static const struct drive_typemap type_pairs[] = {
#define DRIVE_TYPE_DEFAULT 0 #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) static void enable_labelserial_box(HWND dialog, int mode)
{ {
WINE_TRACE("mode=%d\n", mode); WINE_TRACE("mode=%d\n", mode);
...@@ -444,9 +402,6 @@ static void update_controls(HWND dialog) ...@@ -444,9 +402,6 @@ static void update_controls(HWND dialog)
WINE_TRACE("Updating sheet for drive %c\n", current_drive->letter); 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 */
path = current_drive->unixpath; path = current_drive->unixpath;
WINE_TRACE("set path control text to '%s'\n", path); WINE_TRACE("set path control text to '%s'\n", path);
...@@ -770,7 +725,6 @@ DriveDlgProc (HWND dialog, UINT msg, WPARAM wParam, LPARAM lParam) ...@@ -770,7 +725,6 @@ DriveDlgProc (HWND dialog, UINT msg, WPARAM wParam, LPARAM lParam)
if (HIWORD(wParam) != BN_CLICKED) break; if (HIWORD(wParam) != BN_CLICKED) break;
item = SendMessage(GetDlgItem(dialog, IDC_LIST_DRIVES), LB_GETCURSEL, 0, 0); item = SendMessage(GetDlgItem(dialog, IDC_LIST_DRIVES), LB_GETCURSEL, 0, 0);
drive = (struct drive *) SendMessage(GetDlgItem(dialog, IDC_LIST_DRIVES), LB_GETITEMDATA, item, 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; break;
case IDC_BUTTON_AUTODETECT: case IDC_BUTTON_AUTODETECT:
......
...@@ -50,7 +50,6 @@ ...@@ -50,7 +50,6 @@
#define IDD_GRAPHCFG 110 #define IDD_GRAPHCFG 110
#define IDD_DLLCFG 111 #define IDD_DLLCFG 111
#define IDD_DRIVECFG 112 #define IDD_DRIVECFG 112
#define IDD_DRIVE_EDIT 114
#define IDD_DESKTOP_INTEGRATION 115 #define IDD_DESKTOP_INTEGRATION 115
#define IDB_WINE_LOGO 200 #define IDB_WINE_LOGO 200
#define IDC_TABABOUT 1001 #define IDC_TABABOUT 1001
...@@ -114,7 +113,6 @@ ...@@ -114,7 +113,6 @@
#define IDC_EDIT_LABEL 1060 #define IDC_EDIT_LABEL 1060
#define IDC_EDIT_PATH 1061 #define IDC_EDIT_PATH 1061
#define IDC_EDIT_SERIAL 1062 #define IDC_EDIT_SERIAL 1062
#define IDC_COMBO_LETTER 1063
#define IDC_COMBO_TYPE 1065 #define IDC_COMBO_TYPE 1065
#define IDC_EDIT_DEVICE 1066 #define IDC_EDIT_DEVICE 1066
#define IDC_BUTTON_BROWSE_PATH 1067 #define IDC_BUTTON_BROWSE_PATH 1067
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment