No need to have the same separator line twice, once with the new packet
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 16 Aug 2010 23:26:36 +0000 (23:26 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 16 Aug 2010 23:26:36 +0000 (23:26 +0000)
commit777ad84c4c2be45734664397a0e0e886ce92257a
tree94d4d082f09f1b9d3dceb0f43842f931aacc0498
parent2ebea681c30ec2056a56499a0aeb0bac26ce274c
No need to have the same separator line twice, once with the new packet
list and once with the old packet list.

Have Boolean variables for some of the predicates in
set_menus_for_selected_packet(), to clarify what they're testing.

Clean up indentation.

Add some comments for various issues.

(FYI, what "Restore the functionality of <Ctrl>A and <Ctrl>X to the
filter textbox." means, in the comment for the previous checkin, "don't
use <Ctrl>A or <Ctrl>X for our own purposes, so they work the same way
they do in other applications using GTK+"; the checkin changed some menu
items not to use <Ctrl>A and <Ctrl>X as accelerators.)

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33823 f5534014-38df-0310-8fa8-9805f1628bb7
gtk/menus.c