diff options
author | David Shakaryan <omp@gentoo.org> | 2008-09-22 05:59:56 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-22 08:05:45 +0200 |
commit | 4f7c3f48d7dd37fa870a1a40f391520a2ad66c6a (patch) | |
tree | 6695106bfc0552d1e3483ed7cb19a1037e6db91a /src/conf.c | |
parent | 063648606de65ce668c3357ec7b08792ae055219 (diff) | |
download | mpd-4f7c3f48d7dd37fa870a1a40f391520a2ad66c6a.tar.gz mpd-4f7c3f48d7dd37fa870a1a40f391520a2ad66c6a.tar.xz mpd-4f7c3f48d7dd37fa870a1a40f391520a2ad66c6a.zip |
added option "welcome-screen-list"
"welcome-screen-list" shows the screen list in the top row shortly
after startup, and is enabled by default.
Diffstat (limited to '')
-rw-r--r-- | src/conf.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/conf.c b/src/conf.c index ac48e9cdb..c02df52cf 100644 --- a/src/conf.c +++ b/src/conf.c @@ -71,6 +71,7 @@ #define CONF_SCROLL "scroll" #define CONF_SCROLL_SEP "scroll-sep" #define CONF_VISIBLE_BITRATE "visible-bitrate" +#define CONF_WELCOME_SCREEN_LIST "welcome-screen-list" typedef enum { KEY_PARSER_UNKNOWN, @@ -463,6 +464,10 @@ read_rc_file(char *filename, options_t *options) { options->wide_cursor = str2bool(value); } + /* welcome screen list */ + else if (!strcasecmp(CONF_WELCOME_SCREEN_LIST, name)) { + options->welcome_screen_list = str2bool(value); + } /* visible bitrate */ else if (!strcasecmp(CONF_VISIBLE_BITRATE, name)) { options->visible_bitrate = str2bool(value); |