aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-vlan.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2017-02-06 10:50:22 -0800
committerAnders Broman <a.broman58@gmail.com>2017-02-07 05:15:28 +0000
commite9cf760c0cc3fea14404ab6e43b72d52fd016483 (patch)
treee8cc57e0c4a89ae60e617b208b8b285f6f20a80c /epan/dissectors/packet-vlan.c
parent420b9e061e018cfd3d8799e16ebcfef347f0d528 (diff)
GTK: Wrap static preference labels.
In the GTK+ prefrences dialog, enable wrapping and set a maximum width. This should keep labels from making the dialog unusably wide. Make a couple of enum preferences drop-downs instead of radio buttons. Note that we might want to make the drop-down vs radio button behavior automatic. Change-Id: Ib72a2c8d5cfb99324be86f2218b6d57a395fa22c Reviewed-on: https://code.wireshark.org/review/19980 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-vlan.c')
-rw-r--r--epan/dissectors/packet-vlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-vlan.c b/epan/dissectors/packet-vlan.c
index 76aedfeaa9..e9c6b55119 100644
--- a/epan/dissectors/packet-vlan.c
+++ b/epan/dissectors/packet-vlan.c
@@ -421,7 +421,7 @@ proto_register_vlan(void)
prefs_register_enum_preference(vlan_module, "priority_drop",
"Priorities and drop eligibility",
"Number of priorities supported, and number of those drop eligible (not used for 802.1Q-1998)",
- &vlan_priority_drop, priority_drop_vals, TRUE);
+ &vlan_priority_drop, priority_drop_vals, FALSE);
vlan_handle = create_dissector_handle(dissect_vlan, proto_vlan);
}