mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-26 18:31:29 +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 SEPARATOR
|
||||||
MENUITEM "P&refs", VIEWER_PREFS
|
MENUITEM "P&refs", VIEWER_PREFS
|
||||||
END
|
END
|
||||||
|
#if defined(_DEBUG)
|
||||||
POPUP "&Debug"
|
POPUP "&Debug"
|
||||||
{
|
{
|
||||||
MENUITEM "&Visual Debugging", VIEWER_VISUAL_DEBUGGING
|
MENUITEM "&Visual Debugging", VIEWER_VISUAL_DEBUGGING
|
||||||
@ -90,6 +91,7 @@ VIEWER MENU DISCARDABLE
|
|||||||
MENUITEM "Standard", VIEWER_STANDARD_MODE
|
MENUITEM "Standard", VIEWER_STANDARD_MODE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
POPUP "&Tools"
|
POPUP "&Tools"
|
||||||
{
|
{
|
||||||
MENUITEM "&JavaScript Console", JS_CONSOLE
|
MENUITEM "&JavaScript Console", JS_CONSOLE
|
||||||
@ -107,6 +109,7 @@ PRINTPREVIEW MENU DISCARDABLE
|
|||||||
{
|
{
|
||||||
MENUITEM "&Close", PREVIEW_CLOSE
|
MENUITEM "&Close", PREVIEW_CLOSE
|
||||||
}
|
}
|
||||||
|
#if defined(_DEBUG)
|
||||||
POPUP "&Debug"
|
POPUP "&Debug"
|
||||||
{
|
{
|
||||||
MENUITEM "&Visual Debugging", VIEWER_VISUAL_DEBUGGING
|
MENUITEM "&Visual Debugging", VIEWER_VISUAL_DEBUGGING
|
||||||
@ -118,6 +121,7 @@ PRINTPREVIEW MENU DISCARDABLE
|
|||||||
MENUITEM "Dump &Style Sheets", VIEWER_DUMP_STYLE_SHEETS
|
MENUITEM "Dump &Style Sheets", VIEWER_DUMP_STYLE_SHEETS
|
||||||
MENUITEM "Dump &Style Contexts", VIEWER_DUMP_STYLE_CONTEXTS
|
MENUITEM "Dump &Style Contexts", VIEWER_DUMP_STYLE_CONTEXTS
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
JSCONSOLE_MENU MENU DISCARDABLE
|
JSCONSOLE_MENU MENU DISCARDABLE
|
||||||
|
Loading…
Reference in New Issue
Block a user