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:
marco candrian 2008-03-15 17:44:14 +01:00 committed by Julien Danjou
parent 99d72010c5
commit 29673467f9
2 changed files with 2 additions and 2 deletions

View File

@ -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[] =

View File

@ -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")))
{ {