Skip to content
Snippets Groups Projects
Commit 98ce08c8 authored by Jonathan Yap's avatar Jonathan Yap
Browse files

STORM-1820 Discoverability of the menu that opens the Block List is difficult

parent b187aeb8
No related branches found
No related tags found
No related merge requests found
......@@ -610,6 +610,7 @@ Jonathan Yap
STORM-1788
STORM-1799
STORM-1796
STORM-1820
Kadah Coba
STORM-1060
Jondan Lundquist
......
......@@ -5256,6 +5256,17 @@ void toggle_debug_menus(void*)
// }
//
class LLCommunicateBlockList : public view_listener_t
{
bool handleEvent(const LLSD& userdata)
{
// we just send the message and let the server check for failure cases
// server will echo back a "Home position set." alert if it succeeds
// and the home location screencapture happens when that alert is recieved
LLFloaterSidePanelContainer::showPanel("people", "panel_block_list_sidetray", LLSD());
return true;
}
};
class LLWorldSetHomeLocation : public view_listener_t
{
......@@ -8040,6 +8051,9 @@ void initialize_menus()
// Me > Movement
view_listener_t::addMenu(new LLAdvancedAgentFlyingInfo(), "Agent.getFlying");
// Communicate
view_listener_t::addMenu(new LLCommunicateBlockList(), "Communicate.BlockList");
// World menu
view_listener_t::addMenu(new LLWorldAlwaysRun(), "World.AlwaysRun");
......
......@@ -291,6 +291,12 @@
function="SideTray.PanelPeopleTab"
parameter="nearby_panel" />
</menu_item_call>
<menu_item_call
label="Block List"
name="Block List">
<menu_item_call.on_click
function="Communicate.BlockList" />
</menu_item_call>
</menu>
<menu
create_jump_keys="true"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment