Fix showing widget elements with 'mc -a' option.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2009-10-15 10:31:24 +03:00
parent d11de35343
commit ff5dd64c6b
2 changed files with 14 additions and 0 deletions

View File

@ -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);
}
/* --------------------------------------------------------------------------------------------- */

View File

@ -92,4 +92,7 @@ int mc_skin_color_get (const gchar *, const gchar *);
void mc_skin_lines_parse_ini_file (mc_skin_t *); void mc_skin_lines_parse_ini_file (mc_skin_t *);
gchar *mc_skin_get(const gchar *, const gchar *, const gchar *);
#endif #endif