summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-05-24 00:35:22 +0300
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-05-24 00:35:22 +0300
commit23d310436a664f7303d627095f8972de6cb17334 (patch)
treef3422a3c204485293d33ecd5c5012a09eba7e0d6 /indra/newview/skins/default
parentf15ad900e45bef02783f209e5b8ba5137447ab27 (diff)
SL-15312 Change permission status to be icons instead of buttons
Diffstat (limited to 'indra/newview/skins/default')
-rw-r--r--indra/newview/skins/default/xui/en/panel_profile_secondlife.xml85
1 files changed, 61 insertions, 24 deletions
diff --git a/indra/newview/skins/default/xui/en/panel_profile_secondlife.xml b/indra/newview/skins/default/xui/en/panel_profile_secondlife.xml
index c63bf835ff..56cf673e19 100644
--- a/indra/newview/skins/default/xui/en/panel_profile_secondlife.xml
+++ b/indra/newview/skins/default/xui/en/panel_profile_secondlife.xml
@@ -205,48 +205,85 @@ Account: [ACCTTYPE]
width="26"
auto_resize="false"
user_resize="false">
- <!--Todo: progress indicator-->
- <!--Todo: Waits for icons. Current behavior is suboptimal and is a placeholder-->
- <button
- name="allow_to_see_online"
- image_pressed="Profile_Perm_Online_Disabled"
- image_pressed_selected="Profile_Perm_Online_Enabled"
- image_unselected="Profile_Perm_Online_Disabled"
- image_selected="Profile_Perm_Online_Enabled"
+ <icon
+ tool_tip="Can see online status"
+ mouse_opaque="true"
+ name="can_see_online"
+ image_name="Profile_Perm_Online_Enabled"
+ layout="topleft"
+ follows="left|top"
+ top="0"
+ left="0"
+ height="24"
+ width="24"
+ left_pad="2" />
+
+ <icon
+ tool_tip="Can not see online status"
+ mouse_opaque="true"
+ name="cant_see_online"
+ image_name="Profile_Perm_Online_Disabled"
layout="topleft"
follows="left|top"
top="0"
left="0"
+ height="24"
width="24"
- height="24"/>
+ left_pad="2" />
- <button
- name="allow_to_see_on_map"
- image_pressed="Profile_Perm_Find_Disabled"
- image_pressed_selected="Profile_Perm_Find_Enabled"
- image_unselected="Profile_Perm_Find_Disabled"
- image_selected="Profile_Perm_Find_Enabled"
+ <icon
+ tool_tip="Can see on map"
+ mouse_opaque="true"
+ name="can_see_on_map"
+ image_name="Profile_Perm_Find_Enabled"
layout="topleft"
follows="left|top"
top_pad="7"
left="0"
+ height="24"
width="24"
- height="24"/>
+ left_pad="2" />
- <button
- name="allow_edit_my_objects"
- image_pressed="Profile_Perm_Objects_Disabled"
- image_pressed_selected="Profile_Perm_Objects_Enabled"
- image_unselected="Profile_Perm_Objects_Disabled"
- image_selected="Profile_Perm_Objects_Enabled"
+ <icon
+ tool_tip="Can not see on map"
+ mouse_opaque="true"
+ name="cant_see_on_map"
+ image_name="Profile_Perm_Find_Disabled"
+ layout="topleft"
+ follows="left|top"
+ top_delta="0"
+ left="0"
+ height="24"
+ width="24"
+ left_pad="2" />
+
+ <icon
+ tool_tip="Can edit my objects"
+ mouse_opaque="true"
+ name="can_edit_objects"
+ image_name="Profile_Perm_Objects_Enabled"
layout="topleft"
follows="left|top"
top_pad="7"
left="0"
+ height="24"
width="24"
- height="24"/>
-
+ left_pad="2" />
+
+ <icon
+ tool_tip="Can not edit my objects"
+ mouse_opaque="true"
+ name="cant_edit_objects"
+ image_name="Profile_Perm_Objects_Disabled"
+ layout="topleft"
+ follows="left|top"
+ top_delta="0"
+ left="0"
+ height="24"
+ width="24"
+ left_pad="2" />
+
</layout_panel>
</layout_stack>