void SetDiffCellData (Gtk.TreeViewColumn tree_column, Gtk.CellRenderer cell, Gtk.TreeModel model, Gtk.TreeIter iter) { CellRendererDiff rc = (CellRendererDiff)cell; string[] lines = (string[])changedpathstore.GetValue (iter, colDiff); if (lines == null) lines = new string[] { (string)changedpathstore.GetValue (iter, colOperation) }; rc.InitCell (treeviewFiles, changedpathstore.IterDepth (iter) != 0, lines, changedpathstore.GetPath (iter)); }
void SetDiffCellData(Gtk.TreeViewColumn tree_column, Gtk.CellRenderer cell, Gtk.TreeModel model, Gtk.TreeIter iter) { if (disposed) { return; } CellRendererDiff rc = (CellRendererDiff)cell; string[] lines = (string[])filestore.GetValue(iter, ColPath); TreePath path = filestore.GetPath(iter); if (filestore.IterDepth(iter) == 0) { rc.InitCell(filelist, false, lines, path); } else { rc.InitCell(filelist, true, lines, path); } }
static void SetDiffCellData(Gtk.TreeViewColumn tree_column, Gtk.CellRenderer cell, Gtk.TreeModel model, Gtk.TreeIter iter) { CellRendererDiff rc = (CellRendererDiff)cell; string[] lines = (string[])model.GetValue(iter, colDiff); if (lines == null) { lines = new string[] { (string)model.GetValue(iter, colOperation) } } ; rc.InitCell(tree_column.TreeView, ((TreeStore)model).IterDepth(iter) != 0, lines, model.GetPath(iter)); }