aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-05 10:36:29 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-09-05 10:36:29 +0000
commit95ddec4d07eafd83f1a7177083d13d89740e8790 (patch)
tree79be84e2bee0b87055cfa3f33a79180319c62372 /file.c
parentb7bdf3efc15bb82341c82f0911158071e7441ec9 (diff)
Get rid off GtkTreeModelFilter because the time to sort becomes unbearable when combined with GtkTreeSortable. This means that we now track which frames are visible in the our own packet list store. To do so, we now distinguish between physical and visible rows. All frames are added as physical rows. Only those that passes the display filter are marked as visible.
svn path=/trunk/; revision=29705
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/file.c b/file.c
index 03e4d64487..eccf1a3c84 100644
--- a/file.c
+++ b/file.c
@@ -1898,6 +1898,8 @@ rescan_packets(capture_file *cf, const char *action, const char *action_item,
/* Unfreeze the packet list. */
#ifdef NEW_PACKET_LIST
+ if (!add_to_packet_list)
+ new_packet_list_recreate_visible_rows();
new_packet_list_thaw();
#else
packet_list_thaw();