Skip to content

Commit

Permalink
226 -- С форума: Выделим несколько архивов, нажмём ShiftF3. Выдаёт "A…
Browse files Browse the repository at this point in the history
…rchive test complete". Выделение не сбрасывается.
  • Loading branch information
w17 committed Feb 9, 2016
1 parent 79e0c91 commit d28dee1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
5 changes: 5 additions & 0 deletions plugins/arclite/changelog
@@ -1,3 +1,8 @@
w17 09.02.2016 19:09:18 +0300 - build 226

1. � ������: ������� ��������� �������, ����� ShiftF3. ����� "Archive test complete". ��������� �� ������������.
������� ����������������. ��� ��������� ������ �������������� ProcessHostFileW() ��� ���� �������.

w17 26.01.2016 12:50:13 +0300 - build 225

1. Fix 224.
Expand Down
13 changes: 9 additions & 4 deletions plugins/arclite/plugin.cpp
Expand Up @@ -394,9 +394,11 @@ class Plugin {
indices.push_back(static_cast<UInt32>(reinterpret_cast<size_t>(panel_items[i].UserData.Data)));
}
archive->test(src_dir_index, indices);
for (int i = 0; i < items_number; i++) {
panel_items[i].Flags &= ~PPIF_SELECTED;
}
if (op_mode == OPM_NONE) {
for (int i = 0; i < items_number; i++) {
panel_items[i].Flags &= ~PPIF_SELECTED;
}
}
Far::info_dlg(c_test_ok_dialog_guid, Far::get_msg(MSG_PLUGIN_NAME), Far::get_msg(MSG_TEST_OK));
}

Expand Down Expand Up @@ -1107,7 +1109,10 @@ intptr_t WINAPI ProcessHostFileW(const ProcessHostFileInfo* info) {
intptr_t item = Far::menu(c_arccmd_menu_guid, Far::get_msg(MSG_PLUGIN_NAME), menu_items);
if (item == 0) {
reinterpret_cast<Plugin*>(info->hPanel)->test_files(info->PanelItem, info->ItemsNumber, info->OpMode);
return FALSE; // to avoid setting modification flag (there is readonly test operation)
if (info->OpMode == OPM_NONE)
return FALSE; // to avoid setting modification flag (there is readonly test operation)
else
return TRUE;
}
else
return FALSE;
Expand Down
2 changes: 1 addition & 1 deletion plugins/arclite/project.ini
Expand Up @@ -2,4 +2,4 @@
MODULE = arclite
VER_MAJOR = 3
VER_MINOR = 0
VER_BUILD = 225
VER_BUILD = 226

0 comments on commit d28dee1

Please sign in to comment.