Clean up Object SLURL right click menu with a few submenus

This commit is contained in:
Liru Færs
2020-02-29 08:20:50 -05:00
parent e4eca079e6
commit d6f320fb5e

View File

@@ -4,6 +4,7 @@
label="Object" label="Object"
name="Url Popup"> name="Url Popup">
<menu filename="menu_url_object_owner.xml"/> <menu filename="menu_url_object_owner.xml"/>
<menu name="URL Actions" label="URL Actions">
<menu_item_call <menu_item_call
label="Object Profile..." label="Object Profile..."
layout="topleft" layout="topleft"
@@ -41,6 +42,8 @@
<menu_item_call.on_click <menu_item_call.on_click
function="Text.Url" userdata="Teleport" /> function="Text.Url" userdata="Teleport" />
</menu_item_call> </menu_item_call>
</menu>
<menu name="Object" label="Object">
<menu_item_call label="Cam To" name="Cam To"> <menu_item_call label="Cam To" name="Cam To">
<on_click function="List.Object.CamTo"/> <on_click function="List.Object.CamTo"/>
<on_visible function="List.IsNearby"/> <on_visible function="List.IsNearby"/>
@@ -81,25 +84,26 @@
<menu_item_call label="Derender" name="Derender"> <menu_item_call label="Derender" name="Derender">
<on_click function="List.Object.Derender"/> <on_click function="List.Object.Derender"/>
</menu_item_call> </menu_item_call>
<menu_item_separator </menu>
layout="topleft" /> <menu name="Copy" label="Copy">
<menu_item_call <menu_item_call
label="Copy Object Name to clipboard" label="Name"
layout="topleft" layout="topleft"
name="url_copy_label"> name="url_copy_label">
<menu_item_call.on_click <menu_item_call.on_click
function="Text.Url" userdata="CopyLabel" /> function="Text.Url" userdata="CopyLabel" />
</menu_item_call> </menu_item_call>
<menu_item_call <menu_item_call
label="Copy SLURL to clipboard" label="SLURL"
layout="topleft" layout="topleft"
name="url_copy"> name="url_copy">
<menu_item_call.on_click <menu_item_call.on_click
function="Text.Url" userdata="CopyUrl" /> function="Text.Url" userdata="CopyUrl" />
</menu_item_call> </menu_item_call>
<menu_item_call label="Copy Key to clipboard" name="key_copy"> <menu_item_call label="Key" name="key_copy">
<menu_item_call.on_click function="List.CopyUUIDs"/> <menu_item_call.on_click function="List.CopyUUIDs"/>
</menu_item_call> </menu_item_call>
</menu>
<menu_item_call label="Select All" name="Select All"> <menu_item_call label="Select All" name="Select All">
<on_click function="Text" userdata="SelectAll"/> <on_click function="Text" userdata="SelectAll"/>
</menu_item_call> </menu_item_call>