mirror of https://github.com/MidnightCommander/mc
Revert "Ticket #3687: store the 'hotlist' file in data dir, not config dir."
This reverts commit 306b30ed30
.
This commit is contained in:
parent
1db93c1b60
commit
ab4fcb6d30
|
@ -65,6 +65,7 @@ static const struct
|
||||||
/* config */
|
/* config */
|
||||||
{ "ini", &mc_config_str, MC_CONFIG_FILE},
|
{ "ini", &mc_config_str, MC_CONFIG_FILE},
|
||||||
{ "filehighlight.ini", &mc_config_str, MC_FHL_INI_FILE},
|
{ "filehighlight.ini", &mc_config_str, MC_FHL_INI_FILE},
|
||||||
|
{ "hotlist", &mc_config_str, MC_HOTLIST_FILE},
|
||||||
{ "mc.keymap", &mc_config_str, GLOBAL_KEYMAP_FILE},
|
{ "mc.keymap", &mc_config_str, GLOBAL_KEYMAP_FILE},
|
||||||
{ "menu", &mc_config_str, MC_USERMENU_FILE},
|
{ "menu", &mc_config_str, MC_USERMENU_FILE},
|
||||||
{ "cedit" PATH_SEP_STR "Syntax", &mc_config_str, EDIT_SYNTAX_FILE},
|
{ "cedit" PATH_SEP_STR "Syntax", &mc_config_str, EDIT_SYNTAX_FILE},
|
||||||
|
@ -85,7 +86,6 @@ static const struct
|
||||||
{ "extfs.d", &mc_data_str, MC_EXTFS_DIR},
|
{ "extfs.d", &mc_data_str, MC_EXTFS_DIR},
|
||||||
{ "history", &mc_data_str, MC_HISTORY_FILE},
|
{ "history", &mc_data_str, MC_HISTORY_FILE},
|
||||||
{ "filepos", &mc_data_str, MC_FILEPOS_FILE},
|
{ "filepos", &mc_data_str, MC_FILEPOS_FILE},
|
||||||
{ "hotlist", &mc_data_str, MC_HOTLIST_FILE},
|
|
||||||
{ "cedit" PATH_SEP_STR "cooledit.clip", &mc_data_str, EDIT_CLIP_FILE},
|
{ "cedit" PATH_SEP_STR "cooledit.clip", &mc_data_str, EDIT_CLIP_FILE},
|
||||||
{ "", &mc_data_str, MC_MACRO_FILE},
|
{ "", &mc_data_str, MC_MACRO_FILE},
|
||||||
|
|
||||||
|
@ -109,8 +109,6 @@ static const struct
|
||||||
} mc_config_migrate_rules_fix[] =
|
} mc_config_migrate_rules_fix[] =
|
||||||
{
|
{
|
||||||
/* *INDENT-OFF* */
|
/* *INDENT-OFF* */
|
||||||
{ &mc_config_str, MC_HOTLIST_FILE, &mc_data_str},
|
|
||||||
|
|
||||||
{ &mc_data_str, MC_USERMENU_FILE, &mc_config_str},
|
{ &mc_data_str, MC_USERMENU_FILE, &mc_config_str},
|
||||||
{ &mc_data_str, EDIT_SYNTAX_FILE, &mc_config_str},
|
{ &mc_data_str, EDIT_SYNTAX_FILE, &mc_config_str},
|
||||||
{ &mc_data_str, EDIT_HOME_MENU, &mc_config_str},
|
{ &mc_data_str, EDIT_HOME_MENU, &mc_config_str},
|
||||||
|
|
|
@ -93,7 +93,7 @@ static const struct test_user_config_paths_ds
|
||||||
MC_FHL_INI_FILE
|
MC_FHL_INI_FILE
|
||||||
},
|
},
|
||||||
{ /* 2. */
|
{ /* 2. */
|
||||||
CONF_DATA,
|
CONF_MAIN,
|
||||||
MC_HOTLIST_FILE
|
MC_HOTLIST_FILE
|
||||||
},
|
},
|
||||||
{ /* 3. */
|
{ /* 3. */
|
||||||
|
|
Loading…
Reference in New Issue