summaryrefslogtreecommitdiff
path: root/indra/newview/skins
diff options
context:
space:
mode:
authorMike Antipov <mantipov@productengine.com>2010-05-19 15:32:25 +0300
committerMike Antipov <mantipov@productengine.com>2010-05-19 15:32:25 +0300
commit2646ec7aa134eb4914439247688c092cd579ec58 (patch)
tree7d92296a0d2d379fbcba9b6753bc42a6bce5b94e /indra/newview/skins
parent12d9aef217707ed866c0076107b0b935bd9f7fc7 (diff)
EXT-7104 WIP Implemented reaction on Sidebar button click
Implementation details: * Added new setting SidebarWithButtonsVisibility * Sidebar bottom tray button changes its value on click (toggle state - value is TRUE) * SideTray listens changes of this setting's value and change its and its buttons visibility * expand/collapse Sidebar state is stored between changes of the setting. Reviewed by Yuri Chebotarev at https://codereview.productengine.com/secondlife/r/403/ --HG-- branch : product-engine
Diffstat (limited to 'indra/newview/skins')
-rw-r--r--indra/newview/skins/default/xui/en/panel_bottomtray.xml5
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/skins/default/xui/en/panel_bottomtray.xml b/indra/newview/skins/default/xui/en/panel_bottomtray.xml
index dd813f5813..2ba7bef502 100644
--- a/indra/newview/skins/default/xui/en/panel_bottomtray.xml
+++ b/indra/newview/skins/default/xui/en/panel_bottomtray.xml
@@ -228,7 +228,7 @@
Disabled for now.
-->
<button
-enabled="false"
+ control_name="SidebarWithButtonsVisibility"
follows="left|right"
height="23"
image_pressed="PushButton_Press"
@@ -243,9 +243,6 @@ enabled="false"
top="5"
use_ellipses="true"
width="80">
- <init_callback
- function=""
- parameter="" />
</button>
</layout_panel>
<layout_panel