diff options
author | Gerald Combs <gerald@wireshark.org> | 2017-02-06 10:50:22 -0800 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2017-02-07 05:15:28 +0000 |
commit | e9cf760c0cc3fea14404ab6e43b72d52fd016483 (patch) | |
tree | e8cc57e0c4a89ae60e617b208b8b285f6f20a80c /epan/prefs.c | |
parent | 420b9e061e018cfd3d8799e16ebcfef347f0d528 (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/prefs.c')
-rw-r--r-- | epan/prefs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/prefs.c b/epan/prefs.c index d834601a6a..ed7bea648a 100644 --- a/epan/prefs.c +++ b/epan/prefs.c @@ -1207,6 +1207,10 @@ gboolean prefs_get_bool_value(pref_t *pref, pref_source_t source) /* * Register a preference with an enumerated value. */ +/* + * XXX Should we get rid of the radio_buttons parameter and make that + * behavior automatic depending on the number of items? + */ void prefs_register_enum_preference(module_t *module, const char *name, const char *title, const char *description, |