Skip to content
Permalink
Browse files

+1. Уточнение отображения прогресса при удалении файлов.

  • Loading branch information...
alabuzhev committed Jan 19, 2015
1 parent 7e6e31a commit 19de699ec425856c8522d0c98b49f512dd751e9b
Showing with 9 additions and 5 deletions.
  1. +5 −1 far/changelog
  2. +3 −3 far/delete.cpp
  3. +1 −1 far/vbuild.m4
@@ -1,4 +1,8 @@
shmuel 18.01.2015 20:58:13 +0200 - build 4245
drkns 19.01.2015 20:24:15 +0200 - build 4246

1. Уточнение отображения прогресса при удалении файлов.

shmuel 18.01.2015 20:58:13 +0200 - build 4245

1. Данные одноимённых контент-колонок от разных плагинов конкатенируются.

@@ -237,7 +237,7 @@ static bool WipeFile(const string& Name, int TotalPercent, bool& Cancel, Console
BufInit = true;
}

time_check TimeCheck(time_check::delayed, GetRedrawTimeout());
time_check TimeCheck(time_check::immediate, GetRedrawTimeout());
do
{
size_t Written;
@@ -572,7 +572,7 @@ ShellDelete::ShellDelete(Panel *SrcPanel,bool Wipe):
}

SrcPanel->GetSelName(nullptr,FileAttr);
time_check TimeCheck(time_check::delayed, GetRedrawTimeout());
time_check TimeCheck(time_check::immediate, GetRedrawTimeout());
bool cannot_recycle_try_delete_folder = false;

while (!Cancel && (cannot_recycle_try_delete_folder || SrcPanel->GetSelName(&strSelName,FileAttr,&strSelShortName)))
@@ -648,7 +648,7 @@ ShellDelete::ShellDelete(Panel *SrcPanel,bool Wipe):
}

ScTree.SetFindPath(strSelFullName,L"*", 0);
time_check TreeTimeCheck(time_check::delayed, GetRedrawTimeout());
time_check TreeTimeCheck(time_check::immediate, GetRedrawTimeout());

while (ScTree.GetNextName(&FindData,strFullName))
{
@@ -1 +1 @@
m4_define(BUILD,4245)m4_dnl
m4_define(BUILD,4246)m4_dnl

0 comments on commit 19de699

Please sign in to comment.
You can’t perform that action at this time.