Skip to content

Commit

Permalink
Add a "File/Print" menu item, which prints *all* the packets in the
Browse files Browse the repository at this point in the history
capture to a file or printer.  This should eventually get the ability to
print either all the packets or only the packets selected by the display
filter, and possibly also the ability to print only packets M through N.

Get rid of "cur" member of "capture_file" structure; nobody used it.

There's no need to pass a pointer to a "dialog_button" variable to
"simple_dialog()" for the error boxes displayed if a file copy or move
fails; that dialog box is just a message box and has only an "OK"
button.

Put the declaration of "prefs" into "prefs.h".

svn path=/trunk/; revision=378
  • Loading branch information
guyharris committed Jul 23, 1999
1 parent de459d1 commit 356a07b
Show file tree
Hide file tree
Showing 9 changed files with 417 additions and 53 deletions.
5 changes: 3 additions & 2 deletions capture.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* capture.c
* Routines for packet capture windows
*
* $Id: capture.c,v 1.33 1999/07/20 06:16:08 guy Exp $
* $Id: capture.c,v 1.34 1999/07/23 08:29:23 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
Expand Down Expand Up @@ -567,7 +567,8 @@ capture(void) {
}
}
set_menu_sensitivity("/File/Save", TRUE);
set_menu_sensitivity("/File/Save as", FALSE);
set_menu_sensitivity("/File/Save As...", FALSE);
set_menu_sensitivity("/File/Print...", TRUE);
set_menu_sensitivity("/Tools/Summary", TRUE);
}

Expand Down
4 changes: 1 addition & 3 deletions column.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* column.c
* Routines for handling column preferences
*
* $Id: column.c,v 1.18 1999/07/22 21:14:13 guy Exp $
* $Id: column.c,v 1.19 1999/07/23 08:29:23 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
Expand Down Expand Up @@ -48,8 +48,6 @@
#include "column.h"
#include "packet.h"

extern e_prefs prefs;

static GtkWidget *column_l, *chg_bt, *del_bt, *title_te, *fmt_m, *up_bt,
*dn_bt;
static gint cur_fmt;
Expand Down
Loading

0 comments on commit 356a07b

Please sign in to comment.