diff --git a/plugins/proclist/Plist.cpp b/plugins/proclist/Plist.cpp index 4be2fe6bfa..37c66a06b0 100644 --- a/plugins/proclist/Plist.cpp +++ b/plugins/proclist/Plist.cpp @@ -357,6 +357,10 @@ BOOL GetList(PluginPanelItem* &pPanelItem,size_t &ItemsNumber,PerfThread& Thread if (pd.dwProcessId==0 && pd.dwThreads >5) //_Total CurItem.FileAttributes |= FILE_ATTRIBUTE_HIDDEN; + + if (pd.Bitness != Thread.GetDefaultBitness()) + CurItem.FileAttributes |= FILE_ATTRIBUTE_READONLY; + }//for return TRUE; diff --git a/plugins/proclist/changelog b/plugins/proclist/changelog index 476c2d565c..d9b3ab23f5 100644 --- a/plugins/proclist/changelog +++ b/plugins/proclist/changelog @@ -1,3 +1,7 @@ +drkns 15.06.2016 19:00:05 +0200 - build 184 + +1. Вернём хак с атрибутами. + drkns 15.06.2016 01:27:45 +0200 - build 183 1. Восстановим работоспособность колонки XB (битность процесса, 32/64) и включим её по умолчанию в 1 и 3 режимах. diff --git a/plugins/proclist/perfthread.hpp b/plugins/proclist/perfthread.hpp index d21c4c761b..caf87f0547 100644 --- a/plugins/proclist/perfthread.hpp +++ b/plugins/proclist/perfthread.hpp @@ -143,7 +143,7 @@ class PerfThread LPCTSTR GetHostName() const { return HostName; } bool Updated() { bool bRet=bUpdated; bUpdated=false; return bRet; } bool IsWMIConnected() { return WMI; } - static void GetProcessOwnerInfo(DWORD dwPid, wchar_t* pUser, wchar_t* UserSid, wchar_t* pDomain, int& nSession); + int GetDefaultBitness() const { return DefaultBitness; } wchar_t UserName[64]; wchar_t Password[64]; }; diff --git a/plugins/proclist/version.hpp b/plugins/proclist/version.hpp index c9990cc01f..7e0e20ef84 100644 --- a/plugins/proclist/version.hpp +++ b/plugins/proclist/version.hpp @@ -1,6 +1,6 @@ #include "farversion.hpp" -#define PLUGIN_BUILD 183 +#define PLUGIN_BUILD 184 #define PLUGIN_DESC L"Process List for FAR Manager" #define PLUGIN_NAME L"ProcList" #define PLUGIN_FILENAME L"ProcList.dll"