adding inbox/outbox creation options

meow-7.2.2
Leyla Farazha 2011-05-31 15:11:55 -07:00
parent 4415c8505f
commit ee1ba4d85c
2 changed files with 17 additions and 1 deletions

View File

@ -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);

View File

@ -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"