From 58739a8262f655fa8255e73615d34f2c17a463b0 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Wed, 15 Jun 2011 02:17:15 -0500 Subject: Added "Show client name tag colors" checkbox in Preferences > Advanced. That checkbox was removed from Preferences > Colors in the previous commit (87219855). --- linden/indra/newview/llprefsadvanced.cpp | 3 ++- .../skins/default/xui/en-us/panel_preferences_advanced.xml | 10 +++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'linden') diff --git a/linden/indra/newview/llprefsadvanced.cpp b/linden/indra/newview/llprefsadvanced.cpp index 087acc9..2311896 100644 --- a/linden/indra/newview/llprefsadvanced.cpp +++ b/linden/indra/newview/llprefsadvanced.cpp @@ -73,6 +73,7 @@ BOOL LLPrefsAdvanced::postBuild() static BOOL* sShowClientNameTag = rebind_llcontrol("ShowClientNameTag", &gSavedSettings, true); childSetValue("client_name_tag_check", (*sShowClientNameTag)); childSetValue("client_name_hover_check", gSavedSettings.getBOOL("ShowClientNameHoverTip")); + childSetValue("client_colors_check", gSavedSettings.getBOOL("ShowClientColor")); childSetValue("client_name_tag_broadcast_check", gSavedSettings.getBOOL("ShowMyClientTagToOthers")); childSetValue("appearance_anim_check", gSavedSettings.getBOOL("AppearanceAnimate")); @@ -117,6 +118,7 @@ void LLPrefsAdvanced::apply() gSavedSettings.setBOOL("DisableTeleportScreens", childGetValue("disable_tp_screen_check")); gSavedSettings.setBOOL("ShowClientNameTag", childGetValue("client_name_tag_check")); gSavedSettings.setBOOL("ShowClientNameHoverTip", childGetValue("client_name_hover_check")); + gSavedSettings.setBOOL("ShowClientColor", childGetValue("client_colors_check")); gSavedSettings.setBOOL("AppearanceAnimate", childGetValue("appearance_anim_check")); gSavedSettings.setBOOL("LanguageIsPublic", childGetValue("language_is_public")); @@ -332,4 +334,3 @@ void LLPrefsAdvanced::onSaveAnyoneCloudButton(void * data) std::string filename = gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS, "cloud.xml"); LLVOAvatar::saveCloud(filename, LLVOAvatar::sCloud); } - diff --git a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml index 8585a8e..b6deee9 100644 --- a/linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml +++ b/linden/indra/newview/skins/default/xui/en-us/panel_preferences_advanced.xml @@ -74,7 +74,7 @@ USE left="270" FOR TABBING OPTIONS +