Index: trunk/doc/TODO =================================================================== --- trunk/doc/TODO (revision 32095) +++ trunk/doc/TODO (revision 32096) @@ -2,7 +2,7 @@ 1. For the upcoming release =============================================================================== - CLEANUP: (TT) propedit revamp: - - switch over to new dialogs in lesstif, remove brave for tree-table + - switch over to new dialogs in lesstif - CLEANUP: remove Attrbute() and pcb_act_Attributes -> remove; this should be handled by the property editor when lesstif already supports it. - CLEANUP: after the attribute dialog, remove the label argument from the DAD API [report: igor2] - CLEANUP: remove attrib.o from the hidlib objects Index: trunk/src/brave.c =================================================================== --- trunk/src/brave.c (revision 32095) +++ trunk/src/brave.c (revision 32096) @@ -53,7 +53,6 @@ static desc_t desc[] = { {PCB_BRAVE_NOXOR, "noxor", "avoid xor drawing", "use alternative rendering instead of xor draw", 0}, {PCB_BRAVE_NOCLIPBATCH, "noclipbatch", "do not batch poly clipping", "skip optimization of batching polygon clipping in some expensive user operations", 0}, - {PCB_BRAVE_LESSTIF_TREETABLE, "lesstifttbl", "lesstif tree table", "enable experimental lesstif tree table support", 0}, {0, NULL, NULL, NULL} }; Index: trunk/src/brave.h =================================================================== --- trunk/src/brave.h (revision 32095) +++ trunk/src/brave.h (revision 32096) @@ -4,7 +4,6 @@ PCB_BRAVE_OFF = 0, PCB_BRAVE_NOXOR = 1, PCB_BRAVE_NOCLIPBATCH = 2, - PCB_BRAVE_LESSTIF_TREETABLE = 4, PCB_BRAVE_max } pcb_brave_t; Index: trunk/src_plugins/hid_lesstif/dlg_attr_tree.c =================================================================== --- trunk/src_plugins/hid_lesstif/dlg_attr_tree.c (revision 32095) +++ trunk/src_plugins/hid_lesstif/dlg_attr_tree.c (revision 32096) @@ -397,7 +397,7 @@ } } -static Widget ltf_tree_create_(lesstif_attr_dlg_t *ctx, Widget parent, rnd_hid_attribute_t *attr) +static Widget ltf_tree_create(lesstif_attr_dlg_t *ctx, Widget parent, rnd_hid_attribute_t *attr) { rnd_hid_tree_t *ht = attr->wdata; ltf_tree_t *lt = calloc(sizeof(ltf_tree_t), 1); @@ -432,18 +432,3 @@ XtManageChild(table); return table; } - -static Widget ltf_tree_create(lesstif_attr_dlg_t *ctx, Widget parent, rnd_hid_attribute_t *attr) -{ - Widget w; - - if (pcb_brave & PCB_BRAVE_LESSTIF_TREETABLE) - return ltf_tree_create_(ctx, parent, attr); - - stdarg_n = 0; - stdarg(XmNalignment, XmALIGNMENT_BEGINNING); - stdarg(XmNlabelString, XmStringCreatePCB("TODO: tree table")); - w = XmCreateLabel(parent, XmStrCast("TODO"), stdarg_args, stdarg_n); - - return w; -}