aboutsummaryrefslogtreecommitdiffstats
path: root/column.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>1999-06-19 01:14:51 +0000
committerGuy Harris <guy@alum.mit.edu>1999-06-19 01:14:51 +0000
commit88e94a01867460d7c9bb9fd124daf0e0ee118e7f (patch)
tree6244acb9dd3df334b8eb9e094912181a00de33e4 /column.c
parent6a971ea03c4d73bcf28ade8d63cd6879e662dfeb (diff)
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
Diffstat (limited to 'column.c')
-rw-r--r--column.c17
1 files changed, 2 insertions, 15 deletions
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 <gerald@zing.org>
@@ -39,7 +39,7 @@
#include <unistd.h>
#include <sys/stat.h>
-#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;