From 837a8292c07d6f5c067dc37fc3fb15db2d9f32c0 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Mon, 23 Aug 2010 11:32:27 -0700 Subject: Fixed 'Anyone can:' text not disabling in the build window --- linden/indra/newview/llpanelpermissions.cpp | 3 +++ linden/indra/newview/skins/default/xui/en-us/floater_tools.xml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'linden') diff --git a/linden/indra/newview/llpanelpermissions.cpp b/linden/indra/newview/llpanelpermissions.cpp index afe2de4..fc05744 100644 --- a/linden/indra/newview/llpanelpermissions.cpp +++ b/linden/indra/newview/llpanelpermissions.cpp @@ -222,6 +222,7 @@ void LLPanelPermissions::refresh() childSetEnabled("checkbox allow everyone copy",false); //Next owner can: + childSetEnabled("Anyone can:",false); childSetEnabled("Next owner can:",false); childSetValue("checkbox next owner can modify",FALSE); childSetEnabled("checkbox next owner can modify",false); @@ -651,12 +652,14 @@ void LLPanelPermissions::refresh() if (has_change_perm_ability) { + childSetEnabled("Anyone can:", TRUE); childSetEnabled("checkbox share with group",true); childSetEnabled("checkbox allow everyone move",owner_mask_on & PERM_MOVE); childSetEnabled("checkbox allow everyone copy",owner_mask_on & PERM_COPY && owner_mask_on & PERM_TRANSFER); } else { + childSetEnabled("Anyone can:", FALSE); childSetEnabled("checkbox share with group", FALSE); childSetEnabled("checkbox allow everyone move", FALSE); childSetEnabled("checkbox allow everyone copy", FALSE); diff --git a/linden/indra/newview/skins/default/xui/en-us/floater_tools.xml b/linden/indra/newview/skins/default/xui/en-us/floater_tools.xml index 6210cdd..29cd547 100644 --- a/linden/indra/newview/skins/default/xui/en-us/floater_tools.xml +++ b/linden/indra/newview/skins/default/xui/en-us/floater_tools.xml @@ -473,7 +473,7 @@ + mouse_opaque="true" name="Anyone can:" v_pad="0" width="250"> Anyone Can: