summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
authorrichard <none@none>2010-01-07 18:38:28 -0800
committerrichard <none@none>2010-01-07 18:38:28 -0800
commit3a0b948bb355ab11f03173f3db06e63504ef0ac8 (patch)
tree3fae6aead5bfb369069afd00bdc06dcea34422f6 /indra/newview/llviewermenu.cpp
parentf0c6d8c50ea4ae454d5d24ec61e8ac1efd728341 (diff)
parentc80d04cb0c863aae27efb420daad4718534538c1 (diff)
merge
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rw-r--r--indra/newview/llviewermenu.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp
index 5a9d219fac..1bff04352c 100644
--- a/indra/newview/llviewermenu.cpp
+++ b/indra/newview/llviewermenu.cpp
@@ -437,19 +437,7 @@ void init_menus()
gMenuBarView->setBackgroundColor( color );
gMenuHolder->addChild(gMenuBarView);
-
- // menu holder appears on top of menu bar so you can see the menu title
- // flash when an item is triggered (the flash occurs in the holder)
- gViewerWindow->getRootView()->addChild(gMenuHolder);
-
- // This removes tool tip view from main view and adds it
- // to root view in front of menu holder.
- // Otherwise tool tips for menu items would be overlapped by menu, since
- // main view is behind of menu holder now.
- gViewerWindow->getRootView()->addChild(gToolTipView);
-
- gViewerWindow->getRootView()->addChild(gSnapshotFloaterView);
-
+
gViewerWindow->setMenuBackgroundColor(false,
LLViewerLogin::getInstance()->isInProductionGrid());