actions: split Delete into Delete{PlaylistItems,BrowserItems,StoredPlaylists}

This commit is contained in:
Andrzej Rybczak
2012-09-19 02:01:27 +02:00
parent b57428db90
commit 552bc77318
6 changed files with 138 additions and 89 deletions

View File

@@ -256,6 +256,11 @@ bool BindingsConfiguration::read(const std::string &file)
break;
}
}
else
{
error() << "invalid line: '" << line << "'\n";
break;
}
}
if (key_def_in_progress)
bind_key_def();
@@ -293,7 +298,10 @@ void BindingsConfiguration::generateDefaults()
if (notBound(k = stringToKey("enter")))
bind(k, aPressEnter);
if (notBound(k = stringToKey("delete")))
bind(k, aDelete);
{
bind(k, aDeletePlaylistItems);
bind(k, aDeleteStoredPlaylist);
}
if (notBound(k = stringToKey("right")))
{
bind(k, aNextColumn);