diff --git a/src/conf.c b/src/conf.c
index 3af986b95fe89df1c99a72021c2b2b03b2352ddb..df0ac546564e055f8b5ef5ca231f8111f0717415 100644 (file)
--- a/src/conf.c
+++ b/src/conf.c
#define CONF_PASSWORD "password"
#define CONF_LYRICS_TIMEOUT "lyrics-timeout"
#define CONF_SHOW_SPLASH "show-splash"
+#define CONF_SCROLL "scroll"
+#define CONF_SCROLL_SEP "scroll-sep"
typedef enum {
KEY_PARSER_UNKNOWN,
{
options->lyrics_timeout = atoi(get_format(value));
}
+ else if( !strcasecmp(CONF_SCROLL, name))
+ {
+ options->scroll = str2bool(value);
+ }
+ else if( !strcasecmp(CONF_SCROLL_SEP, name))
+ {
+ g_free(options->scroll_sep);
+ options->scroll_sep = get_format(value);
+ }
else
{
match_found = 0;