theme: Rename separator_width to separator_line_thickness

This commit is contained in:
Consolatis 2022-12-06 12:01:44 +01:00 committed by Johan Malm
parent ccf68c5950
commit 3da7cfd8c6
3 changed files with 5 additions and 6 deletions

View file

@ -128,7 +128,7 @@ theme_builtin(struct theme *theme)
parse_hexstr("#dddad6", theme->menu_items_active_bg_color);
parse_hexstr("#000000", theme->menu_items_active_text_color);
theme->menu_separator_width = 1;
theme->menu_separator_line_thickness = 1;
theme->menu_separator_padding_width = 6;
theme->menu_separator_padding_height = 3;
parse_hexstr("#888888", theme->menu_separator_color);
@ -265,7 +265,7 @@ entry(struct theme *theme, const char *key, const char *value)
}
if (match(key, "menu.separator.width")) {
theme->menu_separator_width = atoi(value);
theme->menu_separator_line_thickness = atoi(value);
}
if (match(key, "menu.separator.padding.width")) {
theme->menu_separator_padding_width = atoi(value);