internal void UpdateRow (TreePath path, string text) { TreeIter iter; if (!store.GetIter (out iter, path)) { return; } Source source = store.GetValue (iter, (int)SourceModel.Columns.Source) as Source; source.Rename (text); }
private void OnEditDone (object o, EventArgs args) { CellEditEntry edit = (CellEditEntry)o; if (view == null) { return; } view.EditingRow = false; view.UpdateRow (new TreePath (edit.path), edit.Text); }