GTK2: expand all tree elements when opening dialog

svn path=/trunk/; revision=10756
This commit is contained in:
Ulf Lamping 2004-05-01 18:40:20 +00:00
parent 6faeb75881
commit 2c52329681
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
/* proto_hier_stats_dlg.c
*
* $Id: proto_hier_stats_dlg.c,v 1.16 2004/03/17 21:48:15 deniel Exp $
* $Id: proto_hier_stats_dlg.c,v 1.17 2004/05/01 18:40:20 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@ -302,6 +302,7 @@ create_tree(GtkWidget *container, ph_stats_t *ps)
WIDGET_SET_SIZE(tree, DEF_DLG_WIDTH, height);
#else
WIDGET_SET_SIZE(tree, DEF_DLG_WIDTH, MAX_DLG_HEIGHT);
gtk_tree_view_expand_all(tree_view);
#endif
gtk_container_add(GTK_CONTAINER(sw), tree);