mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
Fix showing widget elements with 'mc -a' option.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
d11de35343
commit
ff5dd64c6b
@ -177,3 +177,14 @@ mc_skin_deinit (void)
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
||||
gchar *
|
||||
mc_skin_get(const gchar *group, const gchar *key, const gchar *default_value)
|
||||
{
|
||||
if (mc_args__ugly_line_drawing) {
|
||||
return g_strdup(default_value);
|
||||
}
|
||||
return mc_config_get_string(mc_skin__default.config, group, key, default_value);
|
||||
}
|
||||
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
|
@ -92,4 +92,7 @@ int mc_skin_color_get (const gchar *, const gchar *);
|
||||
|
||||
void mc_skin_lines_parse_ini_file (mc_skin_t *);
|
||||
|
||||
gchar *mc_skin_get(const gchar *, const gchar *, const gchar *);
|
||||
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user