bindings: additionally bind delete to DeleteBrowserItems by default

master
Andrzej Rybczak 12 years ago
parent a32a4262b8
commit 2ef83ff15f
  1. 4
      NEWS
  2. 2
      configure.ac
  3. 3
      doc/bindings
  4. 1
      src/bindings.cpp

@ -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) ncmpcpp-0.6.1 (2014-11-06)
* Comment tag is now properly written to mp3 files. * Comment tag is now properly written to mp3 files.

@ -1,7 +1,7 @@
AC_INIT(configure.ac) AC_INIT(configure.ac)
AC_CONFIG_HEADERS(config.h) AC_CONFIG_HEADERS(config.h)
AM_INIT_AUTOMAKE(ncmpcpp, 0.6.1) AM_INIT_AUTOMAKE(ncmpcpp, 0.6.2_pre)
AC_PREREQ(2.59) AC_PREREQ(2.59)

@ -188,6 +188,9 @@
# delete_playlist_items # delete_playlist_items
# #
#def_key "delete" #def_key "delete"
# delete_browser_items
#
#def_key "delete"
# delete_stored_playlist # delete_stored_playlist
# #
#def_key "right" #def_key "right"

@ -366,6 +366,7 @@ void BindingsConfiguration::generateDefaults()
if (notBound(k = stringToKey("delete"))) if (notBound(k = stringToKey("delete")))
{ {
bind(k, Actions::Type::DeletePlaylistItems); bind(k, Actions::Type::DeletePlaylistItems);
bind(k, Actions::Type::DeleteBrowserItems);
bind(k, Actions::Type::DeleteStoredPlaylist); bind(k, Actions::Type::DeleteStoredPlaylist);
} }
if (notBound(k = stringToKey("right"))) if (notBound(k = stringToKey("right")))

Loading…
Cancel
Save