Wireshark-commits: [Wireshark-commits] master 9c1225f: Modify multicheck to accept parent parameter
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9c1225f73511b59dd74273545fac401d711cea36
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
9c1225f by Tomasz Moń (desowin@xxxxxxxxx):
Modify multicheck to accept parent parameter.
This makes it possible for multicheck to become a tree-like structure.
Example:
arg {number=4}{call=--devices}{display=Devices}{tooltip=Device selector}{type=multicheck}
value {arg=4}{value=dev1}{display=Parent Device}{enabled=t}{default=t}
value {arg=4}{value=dev2}{display=Child Device}{parent=dev1}{enabled=t}
value {arg=4}{value=dev3}{display=Another Parent Device}{enabled=t}
value {arg=4}{value=dev4}{display=Non-clickable Child Device}{parent=dev3}
value {arg=4}{value=dev5}{display=Non-clickable Child of Child}{parent=dev4}
Change-Id: I59dd7208ca0ec90cccfc49ae049559cdc6c69a4b
Reviewed-on: https://code.wireshark.org/review/4192
Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Roland Knall <rknall@xxxxxxxxx>
Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Actions performed:
from 0784451 Adjust some whitespace to match editor modelines.
adds 9c1225f Modify multicheck to accept parent parameter.
Summary of changes:
extcap_parser.c | 8 +++
extcap_parser.h | 4 +-
ui/gtk/extcap_gtk.c | 182 ++++++++++++++++++++++++++++++++++++++++-----------
ui/gtk/extcap_gtk.h | 1 +
4 files changed, 156 insertions(+), 39 deletions(-)