mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-26 02:02:33 +00:00
Removed debug menus if not a debug build
This commit is contained in:
parent
3b4cf1a216
commit
b747c5f407
@ -61,6 +61,7 @@ VIEWER MENU DISCARDABLE
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "P&refs", VIEWER_PREFS
|
||||
END
|
||||
#if defined(_DEBUG)
|
||||
POPUP "&Debug"
|
||||
{
|
||||
MENUITEM "&Visual Debugging", VIEWER_VISUAL_DEBUGGING
|
||||
@ -90,6 +91,7 @@ VIEWER MENU DISCARDABLE
|
||||
MENUITEM "Standard", VIEWER_STANDARD_MODE
|
||||
}
|
||||
}
|
||||
#endif
|
||||
POPUP "&Tools"
|
||||
{
|
||||
MENUITEM "&JavaScript Console", JS_CONSOLE
|
||||
@ -107,6 +109,7 @@ PRINTPREVIEW MENU DISCARDABLE
|
||||
{
|
||||
MENUITEM "&Close", PREVIEW_CLOSE
|
||||
}
|
||||
#if defined(_DEBUG)
|
||||
POPUP "&Debug"
|
||||
{
|
||||
MENUITEM "&Visual Debugging", VIEWER_VISUAL_DEBUGGING
|
||||
@ -118,6 +121,7 @@ PRINTPREVIEW MENU DISCARDABLE
|
||||
MENUITEM "Dump &Style Sheets", VIEWER_DUMP_STYLE_SHEETS
|
||||
MENUITEM "Dump &Style Contexts", VIEWER_DUMP_STYLE_CONTEXTS
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
JSCONSOLE_MENU MENU DISCARDABLE
|
||||
|
Loading…
Reference in New Issue
Block a user