protected override bool IsPartOfSelectAll(ListViewItem i) { PendingCommitItem pci = i as PendingCommitItem; return(pci != null && !PendingChange.IsIgnoreOnCommitChangeList(pci.PendingChange.ChangeList)); }
public void OnChange(string fullPath) { PendingCommitItem pci; if (_listItems != null && _listItems.TryGetValue(fullPath, out pci)) { if (PendingChange.IsIgnoreOnCommitChangeList(pci.PendingChange.ChangeList) && pci.Checked) { // Uncheck items that were moved to the ignore list if (!PendingChange.IsIgnoreOnCommitChangeList(pci.LastChangeList)) { pci.Checked = false; // Uncheck items that weren't on the ignore list before } // Note: We don't check items that were previously ignored, as the user didn't // ask us to do that. } pci.RefreshText(Context); RefreshGroupsAvailable(); } }