change graph's style to draw_style
to prevent confusion with the other style {} sections, and it might also better describes what is it used for..
This commit is contained in:
parent
99d72010c5
commit
29673467f9
|
@ -178,7 +178,7 @@ cfg_opt_t widget_graph_data_opts[] =
|
||||||
CFG_STR((char *) "fg_center", (char *) NULL, CFGF_NONE),
|
CFG_STR((char *) "fg_center", (char *) NULL, CFGF_NONE),
|
||||||
CFG_STR((char *) "fg_end", (char *) NULL, CFGF_NONE),
|
CFG_STR((char *) "fg_end", (char *) NULL, CFGF_NONE),
|
||||||
CFG_BOOL((char *) "vertical_gradient", cfg_false, CFGF_NONE),
|
CFG_BOOL((char *) "vertical_gradient", cfg_false, CFGF_NONE),
|
||||||
CFG_STR((char *) "style", (char *) "bottom", CFGF_NONE),
|
CFG_STR((char *) "draw_style", (char *) "bottom", CFGF_NONE),
|
||||||
CFG_AWESOME_END()
|
CFG_AWESOME_END()
|
||||||
};
|
};
|
||||||
cfg_opt_t widget_graph_opts[] =
|
cfg_opt_t widget_graph_opts[] =
|
||||||
|
|
|
@ -465,7 +465,7 @@ graph_new(Statusbar *statusbar, cfg_t *config)
|
||||||
|
|
||||||
/* filter each style-typ into it's own array (for easy looping later)*/
|
/* filter each style-typ into it's own array (for easy looping later)*/
|
||||||
|
|
||||||
if ((type = cfg_getstr(cfg, "style")))
|
if ((type = cfg_getstr(cfg, "draw_style")))
|
||||||
{
|
{
|
||||||
if(!a_strncmp(type, "bottom", sizeof("bottom")))
|
if(!a_strncmp(type, "bottom", sizeof("bottom")))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue