diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-05-29 18:01:03 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-05-29 18:01:03 +0000 |
commit | d98b0cc2318675d319ae28719e63b1af1eb6e236 (patch) | |
tree | c4024a55fd968a4bd4aa9c187268267f46614e46 /ui/gtk/prefs_dlg.c | |
parent | 28f2367a5157841d1183cc1ba992093a8b998453 (diff) |
Fix and clarify name resolution preference tooltips. Print the
description before the name+type since that's presumably what people
are looking for.
svn path=/trunk/; revision=49622
Diffstat (limited to 'ui/gtk/prefs_dlg.c')
-rw-r--r-- | ui/gtk/prefs_dlg.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ui/gtk/prefs_dlg.c b/ui/gtk/prefs_dlg.c index 687718a065..54fbe51039 100644 --- a/ui/gtk/prefs_dlg.c +++ b/ui/gtk/prefs_dlg.c @@ -141,11 +141,12 @@ pref_show(pref_t *pref, gpointer user_data) label_string = (char *)g_malloc(label_len); g_strlcpy(label_string, title, label_len); - tooltip_txt = pref->description? g_strdup_printf("%s.%s: %s\n%s", + tooltip_txt = pref->description? g_strdup_printf("%s\n\nName: %s.%s\nType: %s", + pref->description, module->name, pref->name, - type_name ? type_name : "Unknown", - pref->description): NULL; + type_name ? type_name : "Unknown" + ): NULL; /* * Sometimes we don't want to append a ':' after a static text string... |