aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/expert_comp_table.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2012-03-02 13:31:16 +0000
committerAnders Broman <anders.broman@ericsson.com>2012-03-02 13:31:16 +0000
commitff47bdf96c75b9d35eeafc3248c57f3369b1e0a0 (patch)
tree7be0ce5ec822b8714f216a04e43388e55db1852f /ui/gtk/expert_comp_table.c
parent15a88e695f80dd2cb7c37a4cb62b4a54db069f88 (diff)
Use the expert system to show packet comments.
The packet comment widget should be replaced by a ListView with two columns, packet no and Comment. svn path=/trunk/; revision=41322
Diffstat (limited to 'ui/gtk/expert_comp_table.c')
-rw-r--r--ui/gtk/expert_comp_table.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/gtk/expert_comp_table.c b/ui/gtk/expert_comp_table.c
index ec96b437e9..1e6bae772f 100644
--- a/ui/gtk/expert_comp_table.c
+++ b/ui/gtk/expert_comp_table.c
@@ -648,7 +648,7 @@ init_error_table(error_equiv_table *err, guint num_procs, GtkWidget *vbox)
sortable = GTK_TREE_SORTABLE(store);
/* Speed up the list display */
- gtk_tree_view_set_fixed_height_mode(err->tree_view, TRUE);
+ gtk_tree_view_set_fixed_height_mode(err->tree_view, TRUE);
gtk_tree_view_set_headers_clickable(GTK_TREE_VIEW (tree), FALSE);
@@ -659,7 +659,8 @@ init_error_table(error_equiv_table *err, guint num_procs, GtkWidget *vbox)
renderer = gtk_cell_renderer_text_new ();
/* Create the first column, associating the "text" attribute of the
- * cell_renderer to the first column of the model */
+ * cell_renderer to the first column of the model
+ */
column = gtk_tree_view_column_new_with_attributes ("Group", renderer, NULL);
gtk_tree_view_column_set_sort_column_id(column, GROUP_COLUMN);
gtk_tree_view_column_set_resizable(column, TRUE);