void setAssocValAndMarkChanged(string path, DACols col, object val) { Gtk.TreeIter iter; if (defaultAssociationsStore.GetIter(out iter, new TreePath(path))) { defaultAssociationsStore.SetValue(iter, (int)col, val); defaultAssociationsStore.SetValue(iter, (int)DACols.Changed, true); } else { throw new Exception("Could not resolve edited path '" + path + "' to TreeIter at " + Environment.StackTrace); } }
void setAssocValAndMarkChanged (string path, DACols col, object val) { Gtk.TreeIter iter; if (defaultAssociationsStore.GetIter (out iter, new TreePath (path))) { defaultAssociationsStore.SetValue (iter, (int)col, val); defaultAssociationsStore.SetValue (iter, (int)DACols.Changed, true); } else { throw new Exception ("Could not resolve edited path '" + path +"' to TreeIter at " + Environment.StackTrace); } }