settings: remove allow_physical_*_deletion (replaced by custom binding)

This commit is contained in:
Andrzej Rybczak
2012-09-19 02:03:39 +02:00
parent 552bc77318
commit ae5bbbe63b
5 changed files with 1 additions and 29 deletions

View File

@@ -453,16 +453,6 @@
#
#search_engine_default_search_mode = "1"
#
##
## Note: Below variables can allow you to physically
## remove files and directories from your hdd using
## ncmpcpp's browser screen.
##
#
#allow_physical_files_deletion = "no"
#
#allow_physical_directories_deletion = "no"
#
#external_editor = ""
#
#use_console_editor = "no" (set to yes, if your editor is console app)

View File

@@ -315,12 +315,6 @@ If enabled, fields in Search engine above "Reset" button will be blocked after s
.B mouse_support = yes/no
Self-descriptive, isn't it?
.TP
.B allow_physical_files_deletion = yes/no
If enabled, ncmpcpp will be able to delete files using its browser screen.
.TP
.B allow_physical_directories_deletion = yes/no
If enabled, ncmpcpp will be able to delete directories using its browser screen.
.TP
.B tag_editor_extended_numeration = yes/no
If enabled, tag editor will number tracks using format xx/yy (where xx is the current track and yy is total amount of all numbered tracks), not plain xx.
.TP

View File

@@ -810,7 +810,7 @@ bool DeleteBrowserItems::canBeRun() const
{
return myScreen == myBrowser
&& !myBrowser->main().empty()
&& isMPDMusicDirSet();
&& isMPDMusicDirSet();
}
void DeleteBrowserItems::Run()

View File

@@ -233,8 +233,6 @@ void Configuration::SetDefaults()
block_search_constraints_change = true;
use_console_editor = false;
use_cyclic_scrolling = false;
allow_physical_files_deletion = false;
allow_physical_directories_deletion = false;
ask_before_clearing_main_playlist = false;
mouse_support = true;
mouse_list_scroll_whole_page = true;
@@ -753,14 +751,6 @@ void Configuration::Read()
{
block_search_constraints_change = v == "yes";
}
else if (name == "allow_physical_files_deletion")
{
allow_physical_files_deletion = v == "yes";
}
else if (name == "allow_physical_directories_deletion")
{
allow_physical_directories_deletion = v == "yes";
}
else if (name == "ask_before_clearing_main_playlist")
{
ask_before_clearing_main_playlist = v == "yes";

View File

@@ -171,8 +171,6 @@ struct Configuration
bool block_search_constraints_change;
bool use_console_editor;
bool use_cyclic_scrolling;
bool allow_physical_files_deletion;
bool allow_physical_directories_deletion;
bool ask_before_clearing_main_playlist;
bool mouse_support;
bool mouse_list_scroll_whole_page;