aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llui/llmenugl.cpp10
-rw-r--r--linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml3
2 files changed, 12 insertions, 1 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
diff --git a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml
index 459bf44..1b36bca 100644
--- a/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml
+++ b/linden/indra/newview/skins/default/xui/en-us/menu_viewer.xml
@@ -413,7 +413,8 @@
413 <menu_item_separator /> 413 <menu_item_separator />
414 <menu_item_check name="Toggle Advanced Menu" 414 <menu_item_check name="Toggle Advanced Menu"
415 label="Advanced Menu" 415 label="Advanced Menu"
416 shortcut="control|alt|D"> 416 shortcut="control|alt|D"
417 shortcut_linux="control|alt|shift|D">
417 <on_click function="View.ToggleAdvanced" userdata="" /> 418 <on_click function="View.ToggleAdvanced" userdata="" />
418 <on_check function="View.CheckAdvanced" /> 419 <on_check function="View.CheckAdvanced" />
419 </menu_item_check> 420 </menu_item_check>