aboutsummaryrefslogtreecommitdiffstats
path: root/menu.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>1998-09-25 23:24:07 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>1998-09-25 23:24:07 +0000
commit8ebc4133148f1445f0e14a731df82d281c79da34 (patch)
tree8d5725d0fe36059aa33286b93b05f4a9f701d193 /menu.c
parent86872f354f4f7d9cbf18fd305e90a7ad9bbb2657 (diff)
* Ethernet manufacturer support (Laurent)
* PPP fixes (Gerald) * Null/loopback interface support (Gerald) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 9650b61801..147307cb52 100644
--- a/menu.c
+++ b/menu.c
@@ -1,7 +1,7 @@
/* menu.c
* Menu routines
*
- * $Id: menu.c,v 1.3 1998/09/17 03:12:27 gerald Exp $
+ * $Id: menu.c,v 1.4 1998/09/25 23:24:00 gerald Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -41,6 +41,7 @@
#include "packet.h"
#include "print.h"
#include "follow.h"
+#include "prefs.h"
/* Much of this was take from the GTK+ tuturial at http://www.gtk.org */
@@ -72,6 +73,8 @@ static GtkMenuEntry menu_items[] =
{"<Main>/Edit/Find", "<control>F", NULL, NULL},
{"<Main>/Edit/<separator>", NULL, NULL, NULL},
{"<Main>/Edit/Printer Options", NULL, printer_opts_cb, NULL},
+ {"<Main>/Edit/<separator>", NULL, NULL, NULL},
+ {"<Main>/Edit/Preferences", NULL, prefs_cb, NULL},
{"<Main>/Tools/Capture", "<control>K", capture_prep_cb, NULL},
{"<Main>/Tools/Filter", NULL, filter_sel_cb, NULL},
{"<Main>/Tools/Follow TCP Stream", NULL, follow_stream_cb, NULL},
@@ -118,6 +121,7 @@ menus_init(void) {
set_menu_sensitivity("<Main>/Edit/Copy", FALSE);
set_menu_sensitivity("<Main>/Edit/Paste", FALSE);
set_menu_sensitivity("<Main>/Edit/Find", FALSE);
+ set_menu_sensitivity("<Main>/Edit/Preferences", FALSE);
set_menu_sensitivity("<Main>/Tools/Graph", FALSE);
set_menu_sensitivity("<Main>/Help/About Ethereal", FALSE);
if ((mp = gtk_menu_factory_find(factory, "<Main>/Help")) != NULL) {