diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-01-20 20:05:18 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-01-20 20:05:18 +0000 |
commit | b041d69838e023a82b0673b2b95c1fc92e647b52 (patch) | |
tree | 7f2d96a8b7b1f8095f1bcf9ad6ee3b6201af67ec /gtk/print_prefs.c | |
parent | ab0699913e23788e0f91f3fe95139e4041fe6609 (diff) |
Make the blurbs for protocol preference items into tooltips. (This also
lets us add tooltips to other preference items whose widgets are created
with the "create_preference_XXX()" routines - just pass in a tooltip
text string rather than a null pointer.)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4577 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/print_prefs.c')
-rw-r--r-- | gtk/print_prefs.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk/print_prefs.c b/gtk/print_prefs.c index 888915bb72..aafb2c9f78 100644 --- a/gtk/print_prefs.c +++ b/gtk/print_prefs.c @@ -1,7 +1,7 @@ /* print_prefs.c * Dialog boxes for preferences for printing * - * $Id: print_prefs.c,v 1.10 2002/01/13 20:35:12 guy Exp $ + * $Id: print_prefs.c,v 1.11 2002/01/20 20:05:18 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -79,17 +79,18 @@ GtkWidget * printer_prefs_show(void) /* Output format */ button = create_preference_radio_buttons(main_tb, 0, "Format:", - print_format_vals, prefs.pr_format); + NULL, print_format_vals, prefs.pr_format); gtk_object_set_data(GTK_OBJECT(main_vb), E_PRINT_FORMAT_KEY, button); /* Output destination */ button = create_preference_radio_buttons(main_tb, 1, "Print to:", - print_dest_vals, prefs.pr_dest); + NULL, print_dest_vals, prefs.pr_dest); gtk_object_set_data(GTK_OBJECT(main_vb), E_PRINT_DESTINATION_KEY, button); /* Command text entry */ - cmd_te = create_preference_entry(main_tb, 2, "Command:", prefs.pr_cmd); + cmd_te = create_preference_entry(main_tb, 2, "Command:", NULL, + prefs.pr_cmd); gtk_object_set_data(GTK_OBJECT(main_vb), PRINT_CMD_TE_KEY, cmd_te); /* File button and text entry */ |