aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/new_packet_list.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/new_packet_list.c')
-rw-r--r--gtk/new_packet_list.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk/new_packet_list.c b/gtk/new_packet_list.c
index f2f085db37..9d9d1711b8 100644
--- a/gtk/new_packet_list.c
+++ b/gtk/new_packet_list.c
@@ -172,6 +172,15 @@ create_view_and_model(void)
}
void
+new_packet_list_clear(void)
+{
+ packet_history_clear();
+
+ new_packet_list_store_clear(packetlist);
+ gtk_widget_queue_draw(packetlist->view);
+}
+
+void
new_packet_list_freeze(void)
{
/* So we don't lose the model by the time we want to thaw it */