From 990a41d5fefbb41db37f592e6730a5ca536e8c8c Mon Sep 17 00:00:00 2001 From: "ramiro%netscape.com" Date: Fri, 8 Jan 1999 15:19:29 +0000 Subject: [PATCH] Added view source ('cos it works!), fixed typo in Tools. Thanks to Steve Morrison for the patch. git-svn-id: svn://10.0.0.236/trunk@17375 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webshell/tests/viewer/nsGTKMenu.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mozilla/webshell/tests/viewer/nsGTKMenu.cpp b/mozilla/webshell/tests/viewer/nsGTKMenu.cpp index f3c5144990e..3161c07df91 100644 --- a/mozilla/webshell/tests/viewer/nsGTKMenu.cpp +++ b/mozilla/webshell/tests/viewer/nsGTKMenu.cpp @@ -40,6 +40,7 @@ GtkItemFactoryEntry menu_items[] = { "/_File", nsnull, nsnull, 0, "" }, { "/File/_New Window", nsnull, (GIFC)gtk_ifactory_cb, VIEWER_WINDOW_OPEN, nsnull }, { "/File/_Open...", nsnull, (GIFC)gtk_ifactory_cb, VIEWER_FILE_OPEN, nsnull }, + { "/File/_View Source", nsnull, (GIFC)gtk_ifactory_cb, VIEW_SOURCE, nsnull }, { "/File/_Samples", nsnull, nsnull, 0, "" }, { "/File/Samples/demo #0", nsnull, (GIFC)gtk_ifactory_cb, VIEWER_DEMO0, nsnull }, { "/File/Samples/demo #1", nsnull, (GIFC)gtk_ifactory_cb, VIEWER_DEMO1, nsnull }, @@ -55,7 +56,7 @@ GtkItemFactoryEntry menu_items[] = { "/File/_Test Sites", nsnull, (GIFC)gtk_ifactory_cb, VIEWER_TOP100, nsnull }, { "/File/Test _Widgets", nsnull, nsnull, 0, "" }, { "/File/Test Widgets/_Tree View", nsnull, (GIFC)gtk_ifactory_cb, VIEWER_TREEVIEW, nsnull }, -// { "/File/Test Widgets/Tool_bar Test", nsnull, (GIFC)gtk_ifactory_cb, VIEWER_TOOLBARDEMO, nsnull }, + { "/File/Test Widgets/Tool_bar Test", nsnull, (GIFC)gtk_ifactory_cb, VIEWER_TOOLBARDEMO, nsnull }, { "/File/sep1", nsnull, nsnull, 0, "" }, { "/File/Print _Preview", nsnull, nsnull, 0, "" }, { "/File/Print Preview/One Column", nsnull, (GIFC)gtk_ifactory_cb, VIEWER_ONE_COLUMN, nsnull }, @@ -103,7 +104,7 @@ GtkItemFactoryEntry menu_items[] = { "/Debug/Compatibility/Standard", nsnull, (GIFC)gtk_ifactory_cb, VIEWER_STANDARD_MODE, nsnull }, #endif - { "/_Tools/", nsnull, nsnull, 0, "" }, + { "/_Tools", nsnull, nsnull, 0, "" }, { "/Tools/_JavaScript Console", nsnull, (GIFC)gtk_ifactory_cb, JS_CONSOLE, nsnull }, { "/Tools/_Editor Mode", nsnull, (GIFC)gtk_ifactory_cb, EDITOR_MODE, nsnull } };