diff options
| -rw-r--r-- | indra/llui/lltabcontainer.cpp | 5 | ||||
| -rw-r--r-- | indra/newview/llnavigationbar.cpp | 9 | 
2 files changed, 12 insertions, 2 deletions
| diff --git a/indra/llui/lltabcontainer.cpp b/indra/llui/lltabcontainer.cpp index 3ca05ff0ff..10d89dc78d 100644 --- a/indra/llui/lltabcontainer.cpp +++ b/indra/llui/lltabcontainer.cpp @@ -44,6 +44,7 @@  #include "lluictrlfactory.h"  #include "llrender.h"  #include "llfloater.h" +#include "lltrans.h"  //---------------------------------------------------------------------------- @@ -940,8 +941,8 @@ void LLTabContainer::addTabPanel(const TabPanelParams& panel)  		else  		{  			std::string tooltip = trimmed_label; -			tooltip += "\nAlt-Left arrow for previous tab"; -			tooltip += "\nAlt-Right arrow for next tab"; +			tooltip += "\n" + LLTrans::getString("TooltipAltLeft");  +			tooltip += "\n" + LLTrans::getString("TooltipAltRight");   			LLButton::Params p;  			p.name(std::string(child->getName()) + " tab"); diff --git a/indra/newview/llnavigationbar.cpp b/indra/newview/llnavigationbar.cpp index b77415dfee..992e244ed9 100644 --- a/indra/newview/llnavigationbar.cpp +++ b/indra/newview/llnavigationbar.cpp @@ -272,6 +272,15 @@ void LLNavigationBar::draw()  		onTeleportHistoryChanged();  		mPurgeTPHistoryItems = false;  	} + +	if (isBackgroundVisible()) +	{ +		static LLUICachedControl<S32> drop_shadow_floater ("DropShadowFloater", 0); +		static LLUIColor color_drop_shadow = LLUIColorTable::instance().getColor("ColorDropShadow"); +		gl_drop_shadow(0, getRect().getHeight(), getRect().getWidth(), 0, +                           color_drop_shadow, drop_shadow_floater ); +	} +  	LLPanel::draw();  } | 
