summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llmenugl.cpp6
-rw-r--r--indra/llui/llresmgr.cpp3
2 files changed, 9 insertions, 0 deletions
diff --git a/indra/llui/llmenugl.cpp b/indra/llui/llmenugl.cpp
index 5857f49a3e..d7ccfe1daa 100644
--- a/indra/llui/llmenugl.cpp
+++ b/indra/llui/llmenugl.cpp
@@ -2945,6 +2945,12 @@ BOOL LLMenuGL::handleKey( KEY key, MASK mask, BOOL called_from_parent )
BOOL LLMenuGL::handleAcceleratorKey(KEY key, MASK mask)
{
+ // don't handle if not enabled
+ if(!mEnabled)
+ {
+ return FALSE;
+ }
+
// Pass down even if not visible
item_list_t::iterator item_iter;
for (item_iter = mItems.begin(); item_iter != mItems.end(); ++item_iter)
diff --git a/indra/llui/llresmgr.cpp b/indra/llui/llresmgr.cpp
index 0d78a45b26..68fb3f8e23 100644
--- a/indra/llui/llresmgr.cpp
+++ b/indra/llui/llresmgr.cpp
@@ -420,6 +420,9 @@ const LLString LLLocale::SYSTEM_LOCALE("English_United States.1252");
#elif LL_DARWIN
const LLString LLLocale::USER_LOCALE("en_US.iso8859-1");// = LLString::null;
const LLString LLLocale::SYSTEM_LOCALE("en_US.iso8859-1");
+#elif LL_SOLARIS
+const LLString LLLocale::USER_LOCALE("en_US.ISO8859-1");
+const LLString LLLocale::SYSTEM_LOCALE("C");
#else // LL_LINUX likes this
const LLString LLLocale::USER_LOCALE("en_US.utf8");
const LLString LLLocale::SYSTEM_LOCALE("C");