Expand the Protocol column instead of the last column on window resize.
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 27 Jan 2008 15:54:15 +0000 (15:54 +0000)
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 27 Jan 2008 15:54:15 +0000 (15:54 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24209 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/proto_hier_stats_dlg.c

index 1de2ad6ae81f5835aaa5f0d1eace5b2475661de8..1a8d76f66f273dbc31c216a7345ff11967fe8e6f 100644 (file)
@@ -444,6 +444,7 @@ create_tree(GtkWidget *container, ph_stats_t *ps)
                                                       "text", PROTOCOL_COLUMN,
                                                       NULL);
     gtk_tree_view_column_set_sizing(column, GTK_TREE_VIEW_COLUMN_AUTOSIZE);
+    gtk_tree_view_column_set_expand(column, TRUE);
     gtk_tree_view_append_column(tree_view, column);
     renderer = gtk_cell_renderer_text_new();
     column = gtk_tree_view_column_new_with_attributes("% Packets", renderer,