*/
void cf_change_time_formats(capture_file *cf);
+/**
+ * Adjust timestamp precision if auto is selected.
+ *
+ * @param cf the capture file
+ */
+void cf_timestamp_auto_precision(capture_file *cf);
+
/**
* Print the capture file.
*
if (recent.gui_time_format != action) {
timestamp_set_type(action);
recent.gui_time_format = action;
+#ifdef NEW_PACKET_LIST
+ cf_timestamp_auto_precision(&cfile);
+ /* XXX Width should be adjusted */
+ new_packet_list_queue_draw();
+#else
cf_change_time_formats(&cfile);
+#endif
}
}
gtk_widget_queue_draw (packetlist->view);
}
+void
+new_packet_list_queue_draw(void)
+{
+ gtk_widget_queue_draw (packetlist->view);
+}
+
#endif /* NEW_PACKET_LIST */
guint new_packet_list_append(column_info *cinfo, frame_data *fdata);
frame_data * new_packet_list_get_row_data(gint row);
void new_packet_list_enable_color(gboolean enable);
+void new_packet_list_queue_draw(void);
void new_packet_list_select_first_row(void);
void new_packet_list_select_last_row(void);
gint new_packet_list_find_row_from_data(gpointer data, gboolean select);