Get rid of the "Tools/Capture" menu item, in favor of "Capture/Start".
svn path=/trunk/; revision=395
This commit is contained in:
parent
b70d733f50
commit
cc0f9562c9
8
file.c
8
file.c
|
@ -1,7 +1,7 @@
|
|||
/* file.c
|
||||
* File I/O routines
|
||||
*
|
||||
* $Id: file.c,v 1.47 1999/07/28 03:29:02 guy Exp $
|
||||
* $Id: file.c,v 1.48 1999/07/28 03:33:34 guy Exp $
|
||||
*
|
||||
* Ethereal - Network traffic analyzer
|
||||
* By Gerald Combs <gerald@zing.org>
|
||||
|
@ -301,8 +301,9 @@ cap_file_input_cb (gpointer data, gint source, GdkInputCondition condition) {
|
|||
set_menu_sensitivity("/File/Save As...", TRUE);
|
||||
set_menu_sensitivity("/File/Print...", TRUE);
|
||||
set_menu_sensitivity("/File/Reload", TRUE);
|
||||
#ifdef HAVE_LIBPCAP
|
||||
set_menu_sensitivity("/Capture/Start...", TRUE);
|
||||
set_menu_sensitivity("/Tools/Capture...", TRUE);
|
||||
#endif
|
||||
set_menu_sensitivity("/Tools/Summary", TRUE);
|
||||
gtk_statusbar_push(GTK_STATUSBAR(info_bar), file_ctx, " File: <none>");
|
||||
return;
|
||||
|
@ -364,8 +365,9 @@ tail_cap_file(char *fname, capture_file *cf) {
|
|||
if ((err == 0) && (cf->cd_t != WTAP_FILE_UNKNOWN)) {
|
||||
|
||||
set_menu_sensitivity("/File/Open...", FALSE);
|
||||
#ifdef HAVE_LIBPCAP
|
||||
set_menu_sensitivity("/Capture/Start...", FALSE);
|
||||
set_menu_sensitivity("/Tools/Capture...", FALSE);
|
||||
#endif
|
||||
|
||||
for (i = 0; i < cf->cinfo.num_cols; i++) {
|
||||
if (get_column_resize_type(cf->cinfo.col_fmt[i]) == RESIZE_LIVE)
|
||||
|
|
5
menu.c
5
menu.c
|
@ -1,7 +1,7 @@
|
|||
/* menu.c
|
||||
* Menu routines
|
||||
*
|
||||
* $Id: menu.c,v 1.30 1999/07/27 02:04:38 guy Exp $
|
||||
* $Id: menu.c,v 1.31 1999/07/28 03:33:34 guy Exp $
|
||||
*
|
||||
* Ethereal - Network traffic analyzer
|
||||
* By Gerald Combs <gerald@zing.org>
|
||||
|
@ -100,9 +100,6 @@ static GtkItemFactoryEntry menu_items[] =
|
|||
{"/Display/_Options...", NULL, GTK_MENU_FUNC(display_opt_cb), 0, NULL},
|
||||
{"/Display/_Match Selected", NULL, GTK_MENU_FUNC(match_selected_cb), 0, NULL},
|
||||
{"/_Tools", NULL, NULL, 0, "<Branch>" },
|
||||
#ifdef HAVE_LIBPCAP
|
||||
{"/Tools/_Capture...", NULL, GTK_MENU_FUNC(capture_prep_cb), 0, NULL},
|
||||
#endif
|
||||
{"/Tools/_Follow TCP Stream", NULL, GTK_MENU_FUNC(follow_stream_cb), 0, NULL},
|
||||
/* {"/Tools/Graph", NULL, NULL, 0, NULL}, future use */
|
||||
{"/Tools/Summary", NULL, GTK_MENU_FUNC(summary_prep_cb), 0, NULL},
|
||||
|
|
Loading…
Reference in New Issue