Skip to content

Commit

Permalink
suppress elevation during highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
alabuzhev committed Mar 26, 2016
1 parent 35760db commit 031e399
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 5 additions & 1 deletion far/changelog
@@ -1,4 +1,8 @@
drkns 26.03.2016 21:16:07 +0200 - build 4603
drkns 26.03.2016 21:56:52 +0200 - build 4604

1. Подавляем запросы прав при раскраске.

drkns 26.03.2016 21:16:07 +0200 - build 4603

1. Продолжим начатое в 4602. Запрашиваем дополнительную информацию о файлах тоже по мере необходимости. Это относится к:
- количество жёстких ссылок
Expand Down
3 changes: 3 additions & 0 deletions far/hilight.cpp
Expand Up @@ -53,6 +53,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "language.hpp"
#include "datetime.hpp"
#include "DlgGuid.hpp"
#include "elevation.hpp"

static const struct
{
Expand Down Expand Up @@ -464,6 +465,8 @@ void HighlightFiles::UpdateCurrentTime()

const HighlightFiles::highlight_item* HighlightFiles::GetHiColor(const FileListItem& Item, bool UseAttrHighlighting)
{
SCOPED_ACTION(elevation::suppress);

highlight_item item = {};

ApplyDefaultStartingColors(item);
Expand Down
2 changes: 1 addition & 1 deletion far/vbuild.m4
@@ -1 +1 @@
m4_define(BUILD,4603)m4_dnl
m4_define(BUILD,4604)m4_dnl

0 comments on commit 031e399

Please sign in to comment.