aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterworldmap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloaterworldmap.cpp')
-rw-r--r--linden/indra/newview/llfloaterworldmap.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llfloaterworldmap.cpp b/linden/indra/newview/llfloaterworldmap.cpp
index bdb7f09..b411bb2 100644
--- a/linden/indra/newview/llfloaterworldmap.cpp
+++ b/linden/indra/newview/llfloaterworldmap.cpp
@@ -236,7 +236,7 @@ BOOL LLFloaterWorldMap::postBuild()
236 childSetKeystrokeCallback("location", (void (*)(LLLineEditor*,void*))updateSearchEnabled, NULL); 236 childSetKeystrokeCallback("location", (void (*)(LLLineEditor*,void*))updateSearchEnabled, NULL);
237 237
238 childSetCommitCallback("search_results", onCommitSearchResult, this); 238 childSetCommitCallback("search_results", onCommitSearchResult, this);
239 childSetDoubleClickCallback("search_results", onTeleportBtn); 239 childSetDoubleClickCallback("search_results", onClickTeleportBtn);
240 childSetCommitCallback("spin x", onCommitLocation, this); 240 childSetCommitCallback("spin x", onCommitLocation, this);
241 childSetCommitCallback("spin y", onCommitLocation, this); 241 childSetCommitCallback("spin y", onCommitLocation, this);
242 childSetCommitCallback("spin z", onCommitLocation, this); 242 childSetCommitCallback("spin z", onCommitLocation, this);
@@ -252,7 +252,7 @@ BOOL LLFloaterWorldMap::postBuild()
252 252
253 childSetAction("Go Home", onGoHome, this); 253 childSetAction("Go Home", onGoHome, this);
254 254
255 childSetAction("Teleport", onTeleportBtn, this); 255 childSetAction("Teleport", onClickTeleportBtn, this);
256 256
257 childSetAction("Show Destination", onShowTargetBtn, this); 257 childSetAction("Show Destination", onShowTargetBtn, this);
258 childSetAction("Show My Location", onShowAgentBtn, this); 258 childSetAction("Show My Location", onShowAgentBtn, this);
@@ -264,7 +264,7 @@ BOOL LLFloaterWorldMap::postBuild()
264 264
265 setDefaultBtn(NULL); 265 setDefaultBtn(NULL);
266 266
267 if ( gAgent.mAccess <= SIM_ACCESS_PG ) 267 if ( gAgent.isTeen() )
268 { 268 {
269 // Hide Mature Events controls 269 // Hide Mature Events controls
270 childHide("events_mature_icon"); 270 childHide("events_mature_icon");
@@ -1288,7 +1288,7 @@ void LLFloaterWorldMap::onShowAgentBtn(void* data)
1288} 1288}
1289 1289
1290// static 1290// static
1291void LLFloaterWorldMap::onTeleportBtn(void* data) 1291void LLFloaterWorldMap::onClickTeleportBtn(void* data)
1292{ 1292{
1293 LLFloaterWorldMap* self = (LLFloaterWorldMap*)data; 1293 LLFloaterWorldMap* self = (LLFloaterWorldMap*)data;
1294 self->teleport(); 1294 self->teleport();