diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2001-01-11 04:40:26 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2001-01-11 04:40:26 +0000 |
commit | 46d08f79f5dcfb2d728c40a9b3edd5508a8a214d (patch) | |
tree | 59468582c5c64d6cf46ea53343b657c73d4e7584 /gtk/prefs_dlg.c | |
parent | d3c571bf5aad7000ed4c652db9bbd127619a8682 (diff) |
Show the menu_item widget during the creation of an option menu for
enumerated option lists. This to overcome a small bug in which the
menu item text doesn't have enough vertical padding.
svn path=/trunk/; revision=2868
Diffstat (limited to 'gtk/prefs_dlg.c')
-rw-r--r-- | gtk/prefs_dlg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/prefs_dlg.c b/gtk/prefs_dlg.c index d204be4741..d120110017 100644 --- a/gtk/prefs_dlg.c +++ b/gtk/prefs_dlg.c @@ -1,7 +1,7 @@ /* prefs_dlg.c * Routines for handling preferences * - * $Id: prefs_dlg.c,v 1.23 2000/11/18 21:41:38 guy Exp $ + * $Id: prefs_dlg.c,v 1.24 2001/01/11 04:40:26 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -188,6 +188,7 @@ pref_show(pref_t *pref, gpointer user_data) gtk_menu_append(GTK_MENU(menu), menu_item); if (enum_valp->value == pref->saved_val.enumval) menu_index = index; + gtk_widget_show(menu_item); } /* Create the option menu from the option */ |