aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/menu.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-06-21 17:27:35 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-06-21 17:27:35 +0000
commit2a6da1361c62b7f2834a8399a7af4c018a31ba64 (patch)
tree9c07f38e6d3e2ecfe0e43689570db1bb67e11583 /gtk/menu.c
parent5c061e582e8ac9f0e744cb0981f942197a925613 (diff)
Add experimental feature of opening a webbrowser, to show some of the
webpages from http://www.ethereal.com. This functionality is copied from the Gimp. Win32 will use ShellExecute to use the system registered webbrowser. On unix builds, currently the mozilla browser is hardcoded, we still need a preference setting for this (I will add this later). svn path=/trunk/; revision=11206
Diffstat (limited to 'gtk/menu.c')
-rw-r--r--gtk/menu.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk/menu.c b/gtk/menu.c
index 689dde0735..91f4a3b6ea 100644
--- a/gtk/menu.c
+++ b/gtk/menu.c
@@ -1,7 +1,7 @@
/* menu.c
* Menu routines
*
- * $Id: menu.c,v 1.203 2004/06/20 15:57:11 ulfl Exp $
+ * $Id: menu.c,v 1.204 2004/06/21 17:25:19 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -322,6 +322,11 @@ static GtkItemFactoryEntry menu_items[] =
ITEM_FACTORY_ENTRY("/_Help", NULL, NULL, 0, "<Branch>", NULL),
ITEM_FACTORY_STOCK_ENTRY("/Help/_Contents", "F1", help_cb, 0, GTK_STOCK_HELP),
ITEM_FACTORY_ENTRY("/Help/_Supported Protocols", NULL, supported_cb, 0, NULL, NULL),
+ ITEM_FACTORY_ENTRY("/Help/Ethereal Online", NULL, NULL, 0, "<Branch>", NULL),
+ ITEM_FACTORY_STOCK_ENTRY("/Help/Ethereal Online/Homepage", NULL, url_ethereal_cb, 0, GTK_STOCK_HOME),
+ ITEM_FACTORY_ENTRY("/Help/Ethereal Online/User's Guide", NULL, url_user_guide_cb, 0, NULL, NULL),
+ ITEM_FACTORY_ENTRY("/Help/Ethereal Online/FAQ's", NULL, url_faqs_cb, 0, NULL, NULL),
+ ITEM_FACTORY_ENTRY("/Help/Ethereal Online/Downloads", NULL, url_downloads_cb, 0, NULL, NULL),
ITEM_FACTORY_ENTRY("/Help/<separator>", NULL, NULL, 0, "<Separator>", NULL),
ITEM_FACTORY_ENTRY("/Help/_About Ethereal", NULL, about_ethereal_cb,
0, NULL, NULL)