public CommentWidget(List<CommentData> _comments) { log = new LogUtil ("CommentWidget"); this.Build (); log.DEBUG ("Recieved comments with size" + _comments.Count); Comments = _comments; replyButton.Sensitive = false; quoteButton.Sensitive = false; PopulateTreeView (); }
public void OnNewCategoryContextMenu() { LogUtil log = new LogUtil ("ProviderNodeCommandHandler"); log.DEBUG ("Creating a new category"); if (this.CurrentNode.DataItem is ProviderData) { ProviderData self = this.CurrentNode.DataItem as ProviderData; // call the new category view self.provider.CreateNewCategory (); } }