add incremental seeking as an option (enabled by default)

This commit is contained in:
unK
2008-09-17 20:30:11 +02:00
parent 022bf9781e
commit 3bbe2c5054
4 changed files with 37 additions and 24 deletions

View File

@@ -185,6 +185,7 @@ void DefaultConfiguration(ncmpcpp_config &conf)
conf.wrapped_search = true;
conf.space_selects = false;
conf.albums_in_tag_editor = false;
conf.incremental_seeking = true;
conf.set_window_title = true;
conf.mpd_connection_timeout = 15;
conf.crossfade_time = 5;
@@ -564,6 +565,10 @@ void ReadConfiguration(ncmpcpp_config &conf)
{
conf.albums_in_tag_editor = v == "albums";
}
else if (it->find("incremental_seeking") != string::npos)
{
conf.incremental_seeking = v == "yes";
}
else if (it->find("enable_window_title") != string::npos)
{
conf.set_window_title = v == "yes";