From 11394d515f57205bf8f0630ec45865c3cb40aec3 Mon Sep 17 00:00:00 2001 From: Gilbert Ramirez Date: Thu, 24 Jun 1999 16:25:59 +0000 Subject: Added Ashok's Match Selected functionality, and changes to move ethereal to version 0.6.3. svn path=/trunk/; revision=330 --- menu.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'menu.c') diff --git a/menu.c b/menu.c index fd5cab6843..d908eab9c7 100644 --- a/menu.c +++ b/menu.c @@ -1,7 +1,7 @@ /* menu.c * Menu routines * - * $Id: menu.c,v 1.21 1999/06/22 22:02:12 gram Exp $ + * $Id: menu.c,v 1.22 1999/06/24 16:25:59 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -99,10 +99,11 @@ static GtkItemFactoryEntry menu_items[] = {"/Capture/_Start...", "K", GTK_MENU_FUNC(capture_prep_cb), 0, NULL}, {"/_Display", NULL, NULL, 0, "" }, {"/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, "" }, {"/Tools/_Capture...", NULL, GTK_MENU_FUNC(capture_prep_cb), 0, NULL}, {"/Tools/_Follow TCP Stream", NULL, GTK_MENU_FUNC(follow_stream_cb), 0, NULL}, - {"/Tools/Graph", NULL, NULL, 0, NULL}, +/* {"/Tools/Graph", NULL, NULL, 0, NULL}, future use */ {"/Tools/Summary", NULL, GTK_MENU_FUNC(summary_prep_cb), 0, NULL}, {"/_Help", NULL, NULL, 0, "" }, {"/Help/_About Ethereal...", NULL, GTK_MENU_FUNC(about_ethereal), 0, NULL} @@ -135,9 +136,10 @@ static GtkMenuEntry menu_items[] = {"
/Edit/Preferences...", NULL, prefs_cb, (gpointer) E_PR_PG_NONE}, {"
/Capture/Start...", "K", capture_prep_cb, NULL}, {"
/Display/Options...", NULL, display_opt_cb, NULL}, + {"
/Display/Match Selected", NULL, match_selected_cb, NULL}, {"
/Tools/Capture...", NULL, capture_prep_cb, NULL}, {"
/Tools/Follow TCP Stream", NULL, follow_stream_cb, NULL}, - {"
/Tools/Graph", NULL, NULL, NULL}, +/* {"
/Tools/Graph", NULL, NULL, NULL}, future use */ {"
/Tools/Summary", NULL, summary_prep_cb, NULL}, {"
/Help/About Ethereal...", NULL, about_ethereal, NULL} }; @@ -213,6 +215,7 @@ menus_init(void) { set_menu_sensitivity("/Tools/Summary", FALSE); #ifdef WITH_WIRETAP set_menu_sensitivity("/Tools/Follow TCP Stream", FALSE); + set_menu_sensitivity("/Display/Match Selected", FALSE); #endif #else @@ -234,6 +237,7 @@ menus_init(void) { set_menu_sensitivity("
/Tools/Summary", FALSE); #ifdef WITH_WIRETAP set_menu_sensitivity("
/Tools/Follow TCP Stream", FALSE); + set_menu_sensitivity("
/Display/Match Selected", FALSE); #endif if ((mp = gtk_menu_factory_find(factory, "
/Help")) != NULL) { gtk_menu_item_right_justify((GtkMenuItem *) mp->widget); -- cgit v1.2.3