diff options
author | Ulf Lamping <ulf.lamping@web.de> | 2006-09-29 22:48:38 +0000 |
---|---|---|
committer | Ulf Lamping <ulf.lamping@web.de> | 2006-09-29 22:48:38 +0000 |
commit | e940ff36b4645434b583a6389aff6c84ca1b7cb8 (patch) | |
tree | f408595b5121913db05c021f29a8d9e39fa3eb23 /epan/prefs.h | |
parent | 736bf234e83f84e6cfcf72f1f505b4e4eb9b035b (diff) |
from Stephen Fisher:
Attached is a patch for consideration that changes the title in the
preferences notebook to be the full description of the preference (but
leaves the short name in the preferences list on the left).
svn path=/trunk/; revision=19370
Diffstat (limited to 'epan/prefs.h')
-rw-r--r-- | epan/prefs.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/epan/prefs.h b/epan/prefs.h index 887d73a73a..c4d2662053 100644 --- a/epan/prefs.h +++ b/epan/prefs.h @@ -176,7 +176,7 @@ typedef struct pref_module module_t; * call so that the "Protocol Properties..." menu item works. */ extern module_t *prefs_register_module(module_t *parent, const char *name, - const char *title, void (*apply_cb)(void)); + const char *title, const char *description, void (*apply_cb)(void)); /* * Register a subtree that will have modules under it. @@ -184,7 +184,8 @@ extern module_t *prefs_register_module(module_t *parent, const char *name, * at the top level and the title used in the tab for it in a preferences * dialog box. */ -extern module_t *prefs_register_subtree(module_t *parent, const char *title); +extern module_t *prefs_register_subtree(module_t *parent, const char *title, + const char *description); /* * Register that a protocol has preferences. |