aboutsummaryrefslogtreecommitdiffstats
path: root/column.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>1999-06-19 01:14:51 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>1999-06-19 01:14:51 +0000
commit151e409944d3662229376ca870a1cc412080d6bf (patch)
tree6244acb9dd3df334b8eb9e094912181a00de33e4 /column.c
parent2b49c339c35f19fad8ac383583b0b482e3a73e3e (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@317 f5534014-38df-0310-8fa8-9805f1628bb7
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;