Allow the new packet list's columns to be moved back
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 2 Jul 2009 21:06:24 +0000 (21:06 +0000)
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 2 Jul 2009 21:06:24 +0000 (21:06 +0000)
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28928 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/new_packet_list.c

index fcc2dae60984df08f86910b4b35d9ca09b92d4f0..4edd94a1653d945b667f1a7515ee247c4d44ffa8 100644 (file)
@@ -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) {