private void FillWorkspaces() { _listStore.Clear(); var workspaces = _showRemoteCheck.State == CheckBoxState.On ? WorkspaceHelper.GetRemoteWorkspaces(this.projectCollection) : WorkspaceHelper.GetLocalWorkspaces(this.projectCollection); foreach (var workspace in workspaces) { var row = _listStore.AddRow(); _listStore.SetValue(row, _name, workspace.Name); _listStore.SetValue(row, _computer, workspace.Computer); _listStore.SetValue(row, _owner, workspace.OwnerName); _listStore.SetValue(row, _comment, workspace.Comment.Replace(Environment.NewLine, " ")); } }