set widget alignment for graph

This commit is contained in:
Julien Danjou 2008-02-11 19:01:48 +01:00
parent 9390abcfb4
commit 95fc524993

View file

@ -250,6 +250,7 @@ graph_new(Statusbar *statusbar, cfg_t *config)
w->draw = graph_draw;
w->tell = graph_tell;
w->alignment = draw_get_align(cfg_getstr(config, "align"));
d = w->data = p_new(Data, 1);
d->width = cfg_getint(config, "width");