From a4000c3744e42fcbb638e742f3b63fa31a0dee15 Mon Sep 17 00:00:00 2001 From: Steven Bennetts Date: Fri, 8 May 2009 07:43:08 +0000 Subject: merge trunk@116587 skinning-7@119389 -> viewer-2.0.0-skinning-7 --- indra/newview/llmenucommands.cpp | 43 +--------------------------------------- 1 file changed, 1 insertion(+), 42 deletions(-) (limited to 'indra/newview/llmenucommands.cpp') diff --git a/indra/newview/llmenucommands.cpp b/indra/newview/llmenucommands.cpp index ac77a920a5..502302868e 100644 --- a/indra/newview/llmenucommands.cpp +++ b/indra/newview/llmenucommands.cpp @@ -35,6 +35,7 @@ #include "llmenucommands.h" #include "imageids.h" +#include "llfloaterreg.h" #include "llfontgl.h" #include "llrect.h" #include "llerror.h" @@ -48,7 +49,6 @@ #include "llfirstuse.h" #include "llfloaterchat.h" #include "llfloaterdirectory.h" -#include "llfloatermap.h" #include "llfloaterworldmap.h" #include "llgivemoney.h" #include "llinventoryview.h" @@ -68,14 +68,6 @@ #include "llworldmap.h" #include "llfocusmgr.h" -void handle_track_avatar(const LLUUID& agent_id, const std::string& name) -{ - LLAvatarTracker::instance().track(agent_id, name); - - LLFloaterDirectory::hide(NULL); - LLFloaterWorldMap::show(NULL, TRUE); -} - void handle_pay_by_id(const LLUUID& agent_id) { const BOOL is_group = FALSE; @@ -88,39 +80,6 @@ void handle_mouselook(void*) } -void handle_map(void*) -{ - LLFloaterWorldMap::toggle(NULL); -} - -void handle_mini_map(void*) -{ - LLFloaterMap::toggleInstance(); -} - - -void handle_find(void*) -{ - LLFloaterDirectory::toggleFind(NULL); -} - - -void handle_events(void*) -{ - LLFloaterDirectory::toggleEvents(NULL); -} - - -void handle_inventory(void*) -{ - // We're using the inventory, possibly for the - // first time. - LLFirstUse::useInventory(); - - LLInventoryView::toggleVisibility(NULL); -} - - void handle_chat(void*) { // give focus to chatbar if it's open but not focused -- cgit v1.2.3