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 } };