public void UpdatePath(VersionControlServer vcs, string path) { if (String.IsNullOrEmpty(path)) return; currentVcs = vcs; store.Clear(); ExtendedItem[] items = vcs.GetExtendedItems(path, DeletedState.NonDeleted, ItemType.Any); foreach (ExtendedItem item in items) { if (item.TargetServerItem == path) continue; string shortPath = item.TargetServerItem.Substring(item.TargetServerItem.LastIndexOf('/') + 1); string latest = item.IsLatest ? "Yes" : "No"; string status = item.LockStatus.ToString(); if (status == "None") status = String.Empty; Gdk.Pixbuf pixbuf = Images.File; if (item.ItemType == ItemType.Folder) pixbuf = Images.Folder; store.AppendValues(pixbuf, shortPath, status, item.LockOwner, latest, item.TargetServerItem, item.ItemType); } }