adding inbox/outbox creation options
parent
4415c8505f
commit
ee1ba4d85c
|
|
@ -1269,7 +1269,7 @@ void menu_create_inventory_item(LLFolderView* root, LLFolderBridge *bridge, cons
|
|||
{
|
||||
std::string type_name = userdata.asString();
|
||||
|
||||
if (("category" == type_name) || ("current" == type_name) || ("outfit" == type_name) || ("my_otfts" == type_name))
|
||||
if (("inbox" == type_name) || ("outbox" == type_name) || ("category" == type_name) || ("current" == type_name) || ("outfit" == type_name) || ("my_otfts" == type_name))
|
||||
{
|
||||
LLFolderType::EType preferred_type = LLFolderType::lookup(type_name);
|
||||
|
||||
|
|
|
|||
|
|
@ -67,6 +67,22 @@
|
|||
function="Inventory.DoCreate"
|
||||
parameter="category" />
|
||||
</menu_item_call>
|
||||
<menu_item_call
|
||||
label="Inbox"
|
||||
layout="topleft"
|
||||
name="Inbox">
|
||||
<menu_item_call.on_click
|
||||
function="Inventory.DoCreate"
|
||||
parameter="inbox" />
|
||||
</menu_item_call>
|
||||
<menu_item_call
|
||||
label="Outbox"
|
||||
layout="topleft"
|
||||
name="Outbox">
|
||||
<menu_item_call.on_click
|
||||
function="Inventory.DoCreate"
|
||||
parameter="outbox" />
|
||||
</menu_item_call>
|
||||
<menu_item_call
|
||||
label="New Script"
|
||||
layout="topleft"
|
||||
|
|
|
|||
Loading…
Reference in New Issue