Get rid of the show dir symlink option.
This commit is contained in:
parent
51fbfbb9bb
commit
018fe31c4f
|
@ -147,7 +147,6 @@ BEGIN
|
|||
LTEXT "&Íîìåð:",IDC_STATIC_SERIAL,33,225,29,12
|
||||
EDITTEXT IDC_EDIT_SERIAL,63,221,78,13,ES_AUTOHSCROLL | WS_TABSTOP
|
||||
|
||||
CONTROL "Ïîêàçâàé ñèìâîëíèòå âðúçêè êúì äèðåêòîðèè",IDC_SHOW_DIRSYM_LINK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,250,230,8
|
||||
CONTROL "Ïîêàçâàé ôàéëîâåòå, çàïî÷âàùè ñ òî÷êà",IDC_SHOW_DOT_FILES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,260,230,8
|
||||
END
|
||||
|
||||
|
|
|
@ -144,7 +144,6 @@ BEGIN
|
|||
LTEXT "S&eriennr:",IDC_STATIC_SERIAL,33,225,41,12
|
||||
EDITTEXT IDC_EDIT_SERIAL,78,221,78,13,ES_AUTOHSCROLL | WS_TABSTOP
|
||||
|
||||
CONTROL "Zeige Verzeichnis-Links an",IDC_SHOW_DIRSYM_LINK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,250,230,8
|
||||
CONTROL "Zeige Dot-Dateien an",IDC_SHOW_DOT_FILES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,260,230,8
|
||||
END
|
||||
|
||||
|
|
|
@ -146,7 +146,6 @@ BEGIN
|
|||
LTEXT "S&erial:",IDC_STATIC_SERIAL,33,225,29,12
|
||||
EDITTEXT IDC_EDIT_SERIAL,63,221,78,13,ES_AUTOHSCROLL | WS_TABSTOP
|
||||
|
||||
CONTROL "Show directory symbolic links",IDC_SHOW_DIRSYM_LINK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,250,230,8
|
||||
CONTROL "Show dot files",IDC_SHOW_DOT_FILES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,260,230,8
|
||||
END
|
||||
|
||||
|
|
|
@ -143,7 +143,6 @@ BEGIN
|
|||
LTEXT "&Sarjanumero:",IDC_STATIC_SERIAL,33,225,49,12
|
||||
EDITTEXT IDC_EDIT_SERIAL,83,221,78,13,ES_AUTOHSCROLL | WS_TABSTOP
|
||||
|
||||
CONTROL "Näytä &kansioiden symboliset linkit",IDC_SHOW_DIRSYM_LINK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,250,230,8
|
||||
CONTROL "Näytä p&istetiedostot",IDC_SHOW_DOT_FILES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,260,230,8
|
||||
END
|
||||
|
||||
|
|
|
@ -145,7 +145,6 @@ BEGIN
|
|||
LTEXT "N° de série:",IDC_STATIC_SERIAL,33,225,29,12
|
||||
EDITTEXT IDC_EDIT_SERIAL,63,221,78,13,ES_AUTOHSCROLL | WS_TABSTOP
|
||||
|
||||
CONTROL "Montrer les liens symboliques des répertoires",IDC_SHOW_DIRSYM_LINK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,250,230,8
|
||||
CONTROL "Montrer les fichiers cachés",IDC_SHOW_DOT_FILES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,260,230,8
|
||||
END
|
||||
|
||||
|
|
|
@ -146,7 +146,6 @@ BEGIN
|
|||
LTEXT "シリアル番号(&E):",IDC_STATIC_SERIAL,33,225,29,12
|
||||
EDITTEXT IDC_EDIT_SERIAL,63,221,78,13,ES_AUTOHSCROLL | WS_TABSTOP
|
||||
|
||||
CONTROL "ディレクトリーのシンボリックリンクを表示する",IDC_SHOW_DIRSYM_LINK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,250,230,8
|
||||
CONTROL "dot ファイルを表示する",IDC_SHOW_DOT_FILES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,260,230,8
|
||||
END
|
||||
|
||||
|
|
|
@ -144,7 +144,6 @@ BEGIN
|
|||
LTEXT "S&erie nummer:",IDC_STATIC_SERIAL,33,225,60,12
|
||||
EDITTEXT IDC_EDIT_SERIAL,94,221,78,13,ES_AUTOHSCROLL | WS_TABSTOP
|
||||
|
||||
CONTROL "Toon \"directory symbolic links\" ",IDC_SHOW_DIRSYM_LINK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,250,230,8
|
||||
CONTROL "Toon \".\" files",IDC_SHOW_DOT_FILES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,260,230,8
|
||||
END
|
||||
|
||||
|
|
|
@ -143,7 +143,6 @@ BEGIN
|
|||
LTEXT "S&erienummer:",IDC_STATIC_SERIAL,33,225,29,12
|
||||
EDITTEXT IDC_EDIT_SERIAL,63,221,78,13,ES_AUTOHSCROLL | WS_TABSTOP
|
||||
|
||||
CONTROL "Vis symbolske koblinger til mapper",IDC_SHOW_DIRSYM_LINK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,250,230,8
|
||||
CONTROL "Vis .-filer",IDC_SHOW_DOT_FILES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,260,230,8
|
||||
END
|
||||
|
||||
|
|
|
@ -147,7 +147,6 @@ BEGIN
|
|||
LTEXT "Ñåðèéíûé íîìåð:",IDC_STATIC_SERIAL,33,225,80,12
|
||||
EDITTEXT IDC_EDIT_SERIAL,103,221,118,13,ES_AUTOHSCROLL | WS_TABSTOP
|
||||
|
||||
CONTROL "Показывать символические ссылки на каталоги",IDC_SHOW_DIRSYM_LINK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,250,230,8
|
||||
CONTROL "Ïîêàçûâàòü ôàéëû, íà÷èíàþùèåñÿ ñ òî÷êè",IDC_SHOW_DOT_FILES,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,260,230,8
|
||||
END
|
||||
|
||||
|
|
|
@ -314,11 +314,6 @@ static int fill_drives_list(HWND dialog)
|
|||
|
||||
static void on_options_click(HWND dialog)
|
||||
{
|
||||
if (IsDlgButtonChecked(dialog, IDC_SHOW_DIRSYM_LINK) == BST_CHECKED)
|
||||
set_reg_key(config_key, "", "ShowDirSymLinks", "Y");
|
||||
else
|
||||
set_reg_key(config_key, "", "ShowDirSymLinks", "N");
|
||||
|
||||
if (IsDlgButtonChecked(dialog, IDC_SHOW_DOT_FILES) == BST_CHECKED)
|
||||
set_reg_key(config_key, "", "ShowDotFiles", "Y");
|
||||
else
|
||||
|
@ -685,9 +680,6 @@ static void init_listview_columns(HWND dialog)
|
|||
|
||||
static void load_drive_options(HWND dialog)
|
||||
{
|
||||
if (!strcmp(get_reg_key(config_key, "", "ShowDirSymLinks", "N"), "Y"))
|
||||
CheckDlgButton(dialog, IDC_SHOW_DIRSYM_LINK, BST_CHECKED);
|
||||
|
||||
if (!strcmp(get_reg_key(config_key, "", "ShowDotFiles", "N"), "Y"))
|
||||
CheckDlgButton(dialog, IDC_SHOW_DOT_FILES, BST_CHECKED);
|
||||
}
|
||||
|
@ -734,7 +726,6 @@ DriveDlgProc (HWND dialog, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||
|
||||
switch (LOWORD(wParam))
|
||||
{
|
||||
case IDC_SHOW_DIRSYM_LINK:
|
||||
case IDC_SHOW_DOT_FILES:
|
||||
on_options_click(dialog);
|
||||
break;
|
||||
|
|
|
@ -114,7 +114,6 @@
|
|||
#define IDC_BUTTON_SHOW_HIDE_ADVANCED 1076
|
||||
#define IDC_STATIC_TYPE 1077
|
||||
#define IDC_LABELSERIAL_STATIC 1078
|
||||
#define IDC_SHOW_DIRSYM_LINK 1079
|
||||
#define IDC_SHOW_DOT_FILES 1080
|
||||
|
||||
#define IDC_DRIVE_LABEL 1078
|
||||
|
|
Loading…
Reference in New Issue