From 29673467f95389093fb17750cf9e54aec3f68b51 Mon Sep 17 00:00:00 2001 From: marco candrian Date: Sat, 15 Mar 2008 17:44:14 +0100 Subject: [PATCH] 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.. --- common/configopts.c | 2 +- widgets/graph.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/configopts.c b/common/configopts.c index a1ac2058..05810239 100644 --- a/common/configopts.c +++ b/common/configopts.c @@ -178,7 +178,7 @@ cfg_opt_t widget_graph_data_opts[] = CFG_STR((char *) "fg_center", (char *) NULL, CFGF_NONE), CFG_STR((char *) "fg_end", (char *) NULL, 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_opt_t widget_graph_opts[] = diff --git a/widgets/graph.c b/widgets/graph.c index af6d0026..5e41da9e 100644 --- a/widgets/graph.c +++ b/widgets/graph.c @@ -465,7 +465,7 @@ graph_new(Statusbar *statusbar, cfg_t *config) /* 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"))) {