mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 08:15:40 +02:00
config: use dashes, '-', instead of underscores, '_' in attribute names
This commit is contained in:
parent
b0705578b0
commit
75bdd2ad3c
5 changed files with 17 additions and 17 deletions
4
config.c
4
config.c
|
@ -16,7 +16,7 @@
|
|||
#include "particles/empty.h"
|
||||
#include "particles/list.h"
|
||||
#include "particles/map.h"
|
||||
#include "particles/progress_bar.h"
|
||||
#include "particles/progress-bar.h"
|
||||
#include "particles/ramp.h"
|
||||
#include "particles/string.h"
|
||||
|
||||
|
@ -351,7 +351,7 @@ particle_from_config(const struct yml_node *node, const struct font *parent_font
|
|||
else if (strcmp(type, "ramp") == 0)
|
||||
ret = particle_ramp_from_config(
|
||||
pair.value, parent_font, left, right, on_click_template);
|
||||
else if (strcmp(type, "progress_bar") == 0)
|
||||
else if (strcmp(type, "progress-bar") == 0)
|
||||
ret = particle_progress_bar_from_config(
|
||||
pair.value, parent_font, left, right, on_click_template);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue