aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2009-07-02 21:06:24 +0000
committerStephen Fisher <steve@stephen-fisher.com>2009-07-02 21:06:24 +0000
commit5a241cb6ad9b67e7b71141619a2a225b73096293 (patch)
tree18550851ded954a47a33335d3ec645bb94a50096
parent88ba03031033f8cfd45aec66f8bca2e9b715a516 (diff)
Allow the new packet list's columns to be moved back
and forth while the packet list is open without having to go into the preferences. The new column ordering is not saved for next time though. Perhaps it should be. svn path=/trunk/; revision=28928
-rw-r--r--gtk/new_packet_list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/new_packet_list.c b/gtk/new_packet_list.c
index fcc2dae609..4edd94a165 100644
--- a/gtk/new_packet_list.c
+++ b/gtk/new_packet_list.c
@@ -136,6 +136,7 @@ create_view_and_model(void)
gtk_tree_view_column_set_sort_column_id(col, i);
gtk_tree_view_column_set_resizable(col, TRUE);
gtk_tree_view_column_set_sizing(col,GTK_TREE_VIEW_COLUMN_FIXED);
+ gtk_tree_view_column_set_reorderable(col, TRUE); /* XXX - Should this be saved in the prefs? */
col_width = recent_get_column_width(i);
if(col_width == -1) {