diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2009-11-24 13:51:26 +0000 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2009-11-24 13:51:26 +0000 |
commit | f2b3aca83a27386e2fb066afcfe566e89a34fa32 (patch) | |
tree | 078d1645346da96bf728945c5cc6113cd5f97b89 /indra | |
parent | 80b410f58999e3f4a752e39ec45ee17f69c289ef (diff) |
hmm, more panel-ization, but it's not displaying.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llstatusbar.cpp | 5 | ||||
-rw-r--r-- | indra/newview/skins/default/xui/en/panel_volume_pulldown.xml | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/indra/newview/llstatusbar.cpp b/indra/newview/llstatusbar.cpp index 2bd8d5fa55..8289930d97 100644 --- a/indra/newview/llstatusbar.cpp +++ b/indra/newview/llstatusbar.cpp @@ -512,8 +512,9 @@ static void onClickVolume(void* data) // toggle the master volume pull-down //LLFloaterReg::showInstance("volume_pulldown"); //tmp - //LLPanelVolumePulldown *foo= - new LLPanelVolumePulldown(); + LLPanelVolumePulldown *foo= + new LLPanelVolumePulldown(); + foo->setVisible(TRUE); } // sets the static variables necessary for the date diff --git a/indra/newview/skins/default/xui/en/panel_volume_pulldown.xml b/indra/newview/skins/default/xui/en/panel_volume_pulldown.xml index 289cdbc821..8c12fd1fb4 100644 --- a/indra/newview/skins/default/xui/en/panel_volume_pulldown.xml +++ b/indra/newview/skins/default/xui/en/panel_volume_pulldown.xml @@ -19,14 +19,14 @@ initial_value="0.5" layout="topleft" left="0" - name="xSystem Volume" + name="System Volume" show_text="false" slider_label.halign="right" top_pad="5" volume="true" width="120"> <slider.commit_callback - function="Pref.setControlFalse" + function="Vol.setControlFalse" parameter="MuteAudio" /> </slider> </panel> |