diff options
Diffstat (limited to 'gtk/proto_hier_stats_dlg.c')
-rw-r--r-- | gtk/proto_hier_stats_dlg.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/gtk/proto_hier_stats_dlg.c b/gtk/proto_hier_stats_dlg.c index da0a18e8b7..1bc3163ade 100644 --- a/gtk/proto_hier_stats_dlg.c +++ b/gtk/proto_hier_stats_dlg.c @@ -1,6 +1,6 @@ /* proto_hier_stats_dlg.c * - * $Id: proto_hier_stats_dlg.c,v 1.5 2001/12/12 21:38:59 gerald Exp $ + * $Id: proto_hier_stats_dlg.c,v 1.6 2001/12/31 04:41:50 gerald Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -157,11 +157,8 @@ create_tree(GtkWidget *container, ph_stats_t *ps) /* Fill in the data. */ fill_in_ctree(tree, ps); - /* Try to size the CTree to a good initial size. - * 5 is a magic number that I pulled out off my hat. - * Using DEF_WIDTH is pretty bogus, too. */ height = GTK_CLIST(tree)->rows * (GTK_CLIST(tree)->row_height + 5); - gtk_widget_set_usize(tree, DEF_WIDTH, height); + gtk_widget_set_usize(tree, 500, height); gtk_container_add(GTK_CONTAINER(sw), tree); |