aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/new_packet_list.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2009-09-22 20:09:04 +0000
committerAnders Broman <anders.broman@ericsson.com>2009-09-22 20:09:04 +0000
commit2d77aab37666d8d16e5b8bca9a52ceeb2168b885 (patch)
treec298c02b5838037c5b550186c2a7bde792e90ff2 /gtk/new_packet_list.c
parentcf8e2654b414b51b95fa0e6cd25fc53bb13e66d9 (diff)
Fix: jyoung SVN #30065; Sort order at start of new capture.
svn path=/trunk/; revision=30079
Diffstat (limited to 'gtk/new_packet_list.c')
-rw-r--r--gtk/new_packet_list.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/new_packet_list.c b/gtk/new_packet_list.c
index f4957121ca..46f2c1ce6b 100644
--- a/gtk/new_packet_list.c
+++ b/gtk/new_packet_list.c
@@ -256,6 +256,12 @@ new_packet_list_clear(void)
new_packet_list_store_clear(packetlist);
gtk_widget_queue_draw(packetlist->view);
+ /* XXX is this correct in all cases?
+ * Reset the sort column, use packetlist as model in case the list is frozen.
+ */
+ gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(packetlist),
+ 0, GTK_SORT_ASCENDING);
+
}
void