summaryrefslogtreecommitdiff
path: root/indra/newview/skins
diff options
context:
space:
mode:
authorJonathan Yap <none@none>2013-12-12 14:11:28 -0500
committerJonathan Yap <none@none>2013-12-12 14:11:28 -0500
commitc804c6b69e9de586225b9cc84c6e6adafba83f8f (patch)
tree6ba4f1b100736784f41961efb507e0fb72246e81 /indra/newview/skins
parent2d701456a07d37a520f436f9e83b1008e492f232 (diff)
STORM-68 Remove Apply button
Add menu entry to Build->Options->Set Default Permissions... Disable Preferences->Advanced->Default Creation Permissions button when on login screen Add code for a one-time conversion from the old upload settings XML cleanup
Diffstat (limited to 'indra/newview/skins')
-rw-r--r--indra/newview/skins/default/xui/en/floater_perms_default.xml40
-rwxr-xr-xindra/newview/skins/default/xui/en/menu_viewer.xml7
-rwxr-xr-xindra/newview/skins/default/xui/en/panel_preferences_advanced.xml2
3 files changed, 22 insertions, 27 deletions
diff --git a/indra/newview/skins/default/xui/en/floater_perms_default.xml b/indra/newview/skins/default/xui/en/floater_perms_default.xml
index 4e44c9ebb3..ceb260fffb 100644
--- a/indra/newview/skins/default/xui/en/floater_perms_default.xml
+++ b/indra/newview/skins/default/xui/en/floater_perms_default.xml
@@ -141,7 +141,7 @@
control_name="ObjectsNextOwnerTransfer"
height="16"
layout="topleft"
- name="Objects_transfer"
+ name="objects_t"
left_pad="0"
top_delta="0"
width="100" />
@@ -157,7 +157,7 @@
control_name="ObjectsEveryoneCopy"
height="16"
layout="topleft"
- name="objects_a"
+ name="objects_e"
left_pad="0"
top_delta="0"
width="100" />
@@ -204,7 +204,7 @@
control_name="UploadsNextOwnerTransfer"
height="16"
layout="topleft"
- name="Uploads_transfer"
+ name="uploads_t"
left_pad="0"
top_delta="0"
width="100" />
@@ -220,7 +220,7 @@
control_name="UploadsEveryoneCopy"
height="16"
layout="topleft"
- name="uploads_a"
+ name="uploads_e"
left_pad="0"
top_delta="0"
width="100" />
@@ -267,7 +267,7 @@
control_name="ScriptsNextOwnerTransfer"
height="16"
layout="topleft"
- name="Scripts_transfer"
+ name="scripts_t"
left_pad="0"
top_delta="0"
width="100" />
@@ -283,7 +283,7 @@
control_name="ScriptsEveryoneCopy"
height="16"
layout="topleft"
- name="scripts_a"
+ name="scripts_e"
left_pad="0"
top_delta="0"
width="100" />
@@ -330,7 +330,7 @@
control_name="NotecardsNextOwnerTransfer"
height="16"
layout="topleft"
- name="Notecards_transfer"
+ name="notecards_t"
left_pad="0"
top_delta="0"
width="100" />
@@ -346,7 +346,7 @@
control_name="NotecardsEveryoneCopy"
height="16"
layout="topleft"
- name="notecards_a"
+ name="notecards_e"
left_pad="0"
top_delta="0"
width="100" />
@@ -393,7 +393,7 @@
control_name="GesturesNextOwnerTransfer"
height="16"
layout="topleft"
- name="Gestures_transfer"
+ name="gestures_t"
left_pad="0"
top_delta="0"
width="100" />
@@ -456,7 +456,7 @@
control_name="WearablesNextOwnerTransfer"
height="16"
layout="topleft"
- name="Wearables_transfer"
+ name="wearables_t"
left_pad="0"
top_delta="0"
width="100" />
@@ -472,33 +472,21 @@
control_name="WearablesEveryoneCopy"
height="16"
layout="topleft"
- name="wearables_a"
+ name="wearables_e"
left_pad="0"
top_delta="0"
width="100" />
</panel>
<button
height="20"
- label="Apply"
- label_selected="Apply"
- layout="topleft"
- name="apply"
- left="375"
- width="100">
- <button.commit_callback
- function="PermsDefault.Apply" />
- </button>
- <button
- height="20"
label="OK"
label_selected="OK"
layout="topleft"
- left_pad="5"
name="ok"
- top_delta="0"
+ left="475"
width="100">
- <button.commit_callback
- function="PermsDefault.OK" />
+ <button.commit_callback
+ function="PermsDefault.OK" />
</button>
<button
height="20"
diff --git a/indra/newview/skins/default/xui/en/menu_viewer.xml b/indra/newview/skins/default/xui/en/menu_viewer.xml
index 554c7c95e4..3c04f07b12 100755
--- a/indra/newview/skins/default/xui/en/menu_viewer.xml
+++ b/indra/newview/skins/default/xui/en/menu_viewer.xml
@@ -1077,6 +1077,13 @@
label="Options"
name="Options"
tear_off="true">
+ <menu_item_call
+ label="Set Default Permissions..."
+ name="Set default permissions">
+ <menu_item_call.on_click
+ function="Floater.ToggleOrBringToFront"
+ parameter="perms_default" />
+ </menu_item_call>
<menu_item_check
label="Show Advanced Permissions"
name="DebugPermissions">
diff --git a/indra/newview/skins/default/xui/en/panel_preferences_advanced.xml b/indra/newview/skins/default/xui/en/panel_preferences_advanced.xml
index 335f1614d8..2e778014c5 100755
--- a/indra/newview/skins/default/xui/en/panel_preferences_advanced.xml
+++ b/indra/newview/skins/default/xui/en/panel_preferences_advanced.xml
@@ -226,7 +226,7 @@
height="20"
label="Default Creation Permissions"
layout="topleft"
- name="Default Creation Permissions"
+ name="default_creation_permissions"
left="30"
top_pad = "20"
width="250">