diff --git a/indra/newview/llfloatermap.cpp b/indra/newview/llfloatermap.cpp index f9fc467c05375174ad5f1bebe2a5ef3fa1a73878..eac1b65f7d1258529783d4a5def7045d4e280803 100644 --- a/indra/newview/llfloatermap.cpp +++ b/indra/newview/llfloatermap.cpp @@ -94,7 +94,7 @@ BOOL LLFloaterMap::postBuild() registrar.add("Minimap.Zoom", boost::bind(&LLFloaterMap::handleZoom, this, _2)); registrar.add("Minimap.Tracker", boost::bind(&LLFloaterMap::handleStopTracking, this, _2)); - mPopupMenu = LLUICtrlFactory::getInstance()->createFromFile<LLMenuGL>("menu_minimap.xml", gMenuHolder, LLViewerMenuHolderGL::child_registry_t::instance()); + mPopupMenu = LLUICtrlFactory::getInstance()->createFromFile<LLMenuGL>("menu_mini_map.xml", gMenuHolder, LLViewerMenuHolderGL::child_registry_t::instance()); if (mPopupMenu && !LLTracker::isTracking(0)) { mPopupMenu->setItemEnabled ("Stop Tracking", false); diff --git a/indra/newview/skins/default/xui/en/menu_mini_map.xml b/indra/newview/skins/default/xui/en/menu_mini_map.xml index a5e1f35142a00eb2e060d13ade4869bd7c927d37..5cbbd71bfeba4fcad48eafd5a625d2d2b6d58f0f 100644 --- a/indra/newview/skins/default/xui/en/menu_mini_map.xml +++ b/indra/newview/skins/default/xui/en/menu_mini_map.xml @@ -4,53 +4,54 @@ layout="topleft" left="100" mouse_opaque="false" - name="popup" + name="Popup" top="724" + visible="false" width="128"> <menu_item_call label="Zoom Close" layout="topleft" name="Zoom Close"> <menu_item_call.on_click - function="MiniMap.ZoomLevel" - parameter="2" /> + function="Minimap.Zoom" + parameter="close" /> </menu_item_call> <menu_item_call label="Zoom Medium" layout="topleft" name="Zoom Medium"> <menu_item_call.on_click - function="MiniMap.ZoomLevel" - parameter="1" /> + function="Minimap.Zoom" + parameter="medium" /> </menu_item_call> <menu_item_call label="Zoom Far" layout="topleft" name="Zoom Far"> <menu_item_call.on_click - function="MiniMap.ZoomLevel" - parameter="0" /> + function="Minimap.Zoom" + parameter="far" /> </menu_item_call> <menu_item_separator - layout="topleft" /> + layout="topleft" + name="Tracking Separator" /> <menu_item_call - enabled="false" label="Stop Tracking" layout="topleft" name="Stop Tracking"> <menu_item_call.on_click - function="MiniMap.StopTracking" /> - <menu_item_call.on_enable - function="MiniMap.EnableTracking" /> + function="Minimap.Tracker" + parameter="task_properties" /> </menu_item_call> + <menu_item_separator + layout="topleft" + name="Tracking Separator" /> <menu_item_call - enabled="false" - label="Profile..." + label="World Map" layout="topleft" - name="Profile"> + name="World Map"> <menu_item_call.on_click - function="MiniMap.ShowProfile" /> - <menu_item_call.on_enable - function="MiniMap.EnableProfile" /> + function="ShowFloater" + parameter="world_map" /> </menu_item_call> </menu>