From 88e94a01867460d7c9bb9fd124daf0e0ee118e7f Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 19 Jun 1999 01:14:51 +0000 Subject: Added "Capture" and "Display" menus; "Capture" has a "Start" item, which is the same as "Tools/Capture", and "Display" has an "Options" item, which pops up a dialog box to let you change the "default" time-stamp column display format on the fly (the "default" is what the "-t" command-line option sets), and have the display change when you do that. Made infrastructure changes to make the immediate display update work. Removed some unused functions, declared some functions used only in the file in which they're defined "static", and removed some unnecessary #includes. svn path=/trunk/; revision=317 --- column.c | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'column.c') diff --git a/column.c b/column.c index bb3d78a744..6ed6b5d8a5 100644 --- a/column.c +++ b/column.c @@ -1,7 +1,7 @@ /* column.c * Routines for handling column preferences * - * $Id: column.c,v 1.10 1999/03/23 03:14:32 gram Exp $ + * $Id: column.c,v 1.11 1999/06/19 01:14:49 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -39,7 +39,7 @@ #include #include -#include "ethereal.h" +#include "timestamp.h" #include "prefs.h" #include "column.h" #include "packet.h" @@ -118,19 +118,6 @@ get_column_format_matches(gboolean *fmt_list, gint format) { fmt_list[i] = TRUE; /* Get any formats lower down on the chain */ switch (format) { - case COL_CLS_TIME: - switch (timestamp_type) { - case ABSOLUTE: - fmt_list[COL_ABS_TIME] = TRUE; - break; - case DELTA: - fmt_list[COL_DELTA_TIME] = TRUE; - break; - default: - fmt_list[COL_REL_TIME] = TRUE; - break; - } - break; case COL_DEF_SRC: fmt_list[COL_RES_DL_SRC] = TRUE; fmt_list[COL_RES_NET_SRC] = TRUE; -- cgit v1.2.3