From 6045bcada3cf9ff9aa18e689732c461467fe2f43 Mon Sep 17 00:00:00 2001 From: WoLf Date: Wed, 26 Jan 2011 17:52:22 +0100 Subject: [PATCH] Fixed default state for chatbar in Nearby Chat (Default: on), inverted xml name. --- indra/newview/app_settings/settings.xml | 2 +- indra/newview/llviewerfloaterreg.cpp | 4 ++-- .../default/xui/en/floater_nearby_chat-cb.xml | 22 +++++-------------- .../default/xui/en/floater_nearby_chat.xml | 22 ++++++++++++++----- 4 files changed, 25 insertions(+), 25 deletions(-) diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index f972f06d09..e167bee700 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -13038,7 +13038,7 @@ Type Boolean Value - 0 + 1 diff --git a/indra/newview/llviewerfloaterreg.cpp b/indra/newview/llviewerfloaterreg.cpp index 00e9c02630..7453caa0fa 100644 --- a/indra/newview/llviewerfloaterreg.cpp +++ b/indra/newview/llviewerfloaterreg.cpp @@ -154,11 +154,11 @@ void LLViewerFloaterReg::registerFloaters() LLFloaterReg::add("camera", "floater_camera.xml", (LLFloaterBuildFunc)&LLFloaterReg::build); if (gSavedSettings.getBOOL("PhoenixNearbyChatbar")) // xml toggle for chatbar in nearby chat -WoLf { - LLFloaterReg::add("nearby_chat", "floater_nearby_chat-cb.xml", (LLFloaterBuildFunc)&LLFloaterReg::build); + LLFloaterReg::add("nearby_chat", "floater_nearby_chat.xml", (LLFloaterBuildFunc)&LLFloaterReg::build); } else { - LLFloaterReg::add("nearby_chat", "floater_nearby_chat.xml", (LLFloaterBuildFunc)&LLFloaterReg::build); + LLFloaterReg::add("nearby_chat", "floater_nearby_chat-cb.xml", (LLFloaterBuildFunc)&LLFloaterReg::build); } LLFloaterReg::add("compile_queue", "floater_script_queue.xml", (LLFloaterBuildFunc)&LLFloaterReg::build); diff --git a/indra/newview/skins/default/xui/en/floater_nearby_chat-cb.xml b/indra/newview/skins/default/xui/en/floater_nearby_chat-cb.xml index fe1944fd31..faf30ce99e 100644 --- a/indra/newview/skins/default/xui/en/floater_nearby_chat-cb.xml +++ b/indra/newview/skins/default/xui/en/floater_nearby_chat-cb.xml @@ -4,7 +4,7 @@ background_visible="true" default_tab_group="1" follows="all" - height="350" + height="300" layout="topleft" left="0" name="nearby_chat" @@ -23,7 +23,7 @@ animate="false" default_tab_group="2" follows="all" - height="320" + height="300" width="394" layout="topleft" orientation="horizontal" @@ -37,7 +37,7 @@ left="0" tab_group="2" top="0" - height="200" + height="300" width="254" user_resize="true">