"Find All Links" option is missing from inventory context menu

meow-7.2.2
Ansariel 2015-05-01 13:44:08 +02:00
parent d93033f094
commit ea2e57cf07
3 changed files with 12 additions and 0 deletions

View File

@ -149,6 +149,9 @@ LLPanelMainInventory::LLPanelMainInventory(const LLPanel::Params& p)
mEnableCallbackRegistrar.add("Inventory.SortBy.Check", boost::bind(&LLPanelMainInventory::isSortByChecked, this, _2));
// </FS:Zi> Sort By menu handlers
// <FS:Ansariel> Add handler for being able to directly route to onCustomAction
mCommitCallbackRegistrar.add("Inventory.CustomAction", boost::bind(&LLPanelMainInventory::onCustomAction, this, _2));
mSavedFolderState = new LLSaveFolderState();
mSavedFolderState->setApply(FALSE);

View File

@ -65,6 +65,7 @@
<menu_item_call label="Kopieren" name="Copy"/>
<menu_item_call label="Einfügen" name="Paste"/>
<menu_item_call label="Als Link einfügen" name="Paste As Link"/>
<menu_item_call label="Alle Links suchen" name="Find Links"/>
<menu_item_call label="Links ersetzen" name="Replace Links"/>
<menu_item_call label="Löschen" name="Remove Link"/>
<menu_item_call label="Löschen" name="Delete"/>

View File

@ -500,6 +500,14 @@
function="Inventory.DoToSelected"
parameter="paste_link" />
</menu_item_call>
<menu_item_call
label="Find All Links"
layout="topleft"
name="Find Links">
<menu_item_call.on_click
function="Inventory.CustomAction"
parameter="find_links" />
</menu_item_call>
<menu_item_call
label="Replace Links"
layout="topleft"