regedit: add multicolumn list widget

Enterprise / Samba - Chris Davis [gmail.com] - 1 October 2014 07:32 UTC

Widget works for lists with one or more column(s). Column headers are optional.

As a test, the patch also modifies regedit to use the new widget for viewing registry keys. Valuelist still needs to be upgraded to use this.

7ad7536 regedit: add multicolumn list widget
source3/utils/regedit.c | 28 +-
source3/utils/regedit.h | 4 +
source3/utils/regedit_list.c | 524 ++++++++++++++++++++++++++++++++++++++
source3/utils/regedit_list.h | 78 ++++++
source3/utils/regedit_treeview.c | 189 ++++++--------
source3/utils/regedit_treeview.h | 9 +-
source3/wscript_build | 2 +-
7 files changed, 703 insertions(+), 131 deletions(-)

Upstream: gitweb.samba.org


  • Share