settings: remove allow_physical_*_deletion (replaced by custom binding)
This commit is contained in:
10
doc/config
10
doc/config
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -810,7 +810,7 @@ bool DeleteBrowserItems::canBeRun() const
|
||||
{
|
||||
return myScreen == myBrowser
|
||||
&& !myBrowser->main().empty()
|
||||
&& isMPDMusicDirSet();
|
||||
&& isMPDMusicDirSet();
|
||||
}
|
||||
|
||||
void DeleteBrowserItems::Run()
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user