From e940ff36b4645434b583a6389aff6c84ca1b7cb8 Mon Sep 17 00:00:00 2001 From: Ulf Lamping Date: Fri, 29 Sep 2006 22:48:38 +0000 Subject: 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 --- epan/prefs.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'epan/prefs.h') 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. -- cgit v1.2.3