private void UpdateTreeIcons() { if (treeLocals != null) { treeLocals.UpdateIcons(Styles.ActiveBranchIcon, Styles.BranchIcon, Styles.FolderIcon, Styles.GlobeIcon); } if (treeRemotes != null) { treeRemotes.UpdateIcons(Styles.ActiveBranchIcon, Styles.BranchIcon, Styles.FolderIcon, Styles.GlobeIcon); } }
public override void OnEnable() { base.OnEnable(); var hasFocus = HasFocus; if (treeLocals != null) { treeLocals.ViewHasFocus = hasFocus; treeLocals.UpdateIcons(Styles.ActiveBranchIcon, Styles.BranchIcon, Styles.FolderIcon, Styles.GlobeIcon); } if (treeRemotes != null) { treeRemotes.ViewHasFocus = hasFocus; treeRemotes.UpdateIcons(Styles.ActiveBranchIcon, Styles.BranchIcon, Styles.FolderIcon, Styles.GlobeIcon); } AttachHandlers(Repository); ValidateCachedData(Repository); }
public override void OnEnable() { base.OnEnable(); var hasFocus = HasFocus; if (treeLocals != null) { treeLocals.ViewHasFocus = hasFocus; treeLocals.UpdateIcons(Styles.ActiveBranchIcon, Styles.BranchIcon, Styles.FolderIcon, Styles.GlobeIcon); } if (treeRemotes != null) { treeRemotes.ViewHasFocus = hasFocus; treeRemotes.UpdateIcons(Styles.ActiveBranchIcon, Styles.BranchIcon, Styles.FolderIcon, Styles.GlobeIcon); } AttachHandlers(Repository); Repository.CheckLocalAndRemoteBranchListChangedEvent(lastLocalAndRemoteBranchListChangedEvent); }