aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-11-08 10:21:08 -0700
committerMcCabe Maxsted2009-11-08 10:21:08 -0700
commit94a37a078d6f39ceca64c84267ed63e2bae306ba (patch)
treec562512bc7d12d9c827b12aa75961e68223b325c /linden/indra/llui
parentChanged version to 1.20 in other files (diff)
downloadmeta-impy-94a37a078d6f39ceca64c84267ed63e2bae306ba.zip
meta-impy-94a37a078d6f39ceca64c84267ed63e2bae306ba.tar.gz
meta-impy-94a37a078d6f39ceca64c84267ed63e2bae306ba.tar.bz2
meta-impy-94a37a078d6f39ceca64c84267ed63e2bae306ba.tar.xz
Attempted to make the Advanced shortcut play nice with Linux in XUI
Diffstat (limited to '')
-rw-r--r--linden/indra/llui/llmenugl.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/linden/indra/llui/llmenugl.cpp b/linden/indra/llui/llmenugl.cpp
index 907777d..8411f41 100644
--- a/linden/indra/llui/llmenugl.cpp
+++ b/linden/indra/llui/llmenugl.cpp
@@ -1829,6 +1829,16 @@ void LLMenuGL::parseChildXML(LLXMLNodePtr child, LLView *parent, LLUICtrlFactory
1829 1829
1830 std::string shortcut; 1830 std::string shortcut;
1831 child->getAttributeString("shortcut", shortcut); 1831 child->getAttributeString("shortcut", shortcut);
1832
1833#ifdef LL_LINUX
1834 // check for linux-specific shortcut
1835 std::string shortcut_linux;
1836 if (child->getAttributeString("shortcut_linux", shortcut_linux))
1837 {
1838 shortcut = shortcut_linux;
1839 }
1840#endif // LL_LINUX
1841
1832 if (shortcut.find("control") != shortcut.npos) 1842 if (shortcut.find("control") != shortcut.npos)
1833 { 1843 {
1834#ifdef LL_DARWIN 1844#ifdef LL_DARWIN