From 2ef83ff15ff52f437ebe11844b5a2d0a36497dde Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Fri, 7 Nov 2014 23:08:13 +0100 Subject: [PATCH] bindings: additionally bind delete to DeleteBrowserItems by default --- NEWS | 4 ++++ configure.ac | 2 +- doc/bindings | 3 +++ src/bindings.cpp | 1 + 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index a987ddf4..d5cb3b0b 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,7 @@ +ncmpcpp-0.6.2 (????-??-??) + +* Delete key now aditionally binds by default to action that deletes files in browser. + ncmpcpp-0.6.1 (2014-11-06) * Comment tag is now properly written to mp3 files. diff --git a/configure.ac b/configure.ac index 8cd32ca6..802a5168 100644 --- a/configure.ac +++ b/configure.ac @@ -1,7 +1,7 @@ AC_INIT(configure.ac) AC_CONFIG_HEADERS(config.h) -AM_INIT_AUTOMAKE(ncmpcpp, 0.6.1) +AM_INIT_AUTOMAKE(ncmpcpp, 0.6.2_pre) AC_PREREQ(2.59) diff --git a/doc/bindings b/doc/bindings index e623b53d..76ee52fe 100644 --- a/doc/bindings +++ b/doc/bindings @@ -188,6 +188,9 @@ # delete_playlist_items # #def_key "delete" +# delete_browser_items +# +#def_key "delete" # delete_stored_playlist # #def_key "right" diff --git a/src/bindings.cpp b/src/bindings.cpp index d70f83f0..f022f69d 100644 --- a/src/bindings.cpp +++ b/src/bindings.cpp @@ -366,6 +366,7 @@ void BindingsConfiguration::generateDefaults() if (notBound(k = stringToKey("delete"))) { bind(k, Actions::Type::DeletePlaylistItems); + bind(k, Actions::Type::DeleteBrowserItems); bind(k, Actions::Type::DeleteStoredPlaylist); } if (notBound(k = stringToKey("right")))