From bf46ac548bb3db0c4412ac982fb41cbbd295bda7 Mon Sep 17 00:00:00 2001 From: Callum Prentice Date: Wed, 5 Mar 2014 15:47:45 -0800 Subject: WENG-1470 (Partial) Secondlife Login Screen Redesign - more steady progress --- indra/newview/app_settings/settings.xml | 2 +- indra/newview/llpanellogin.cpp | 9 ++-- .../default/xui/en/panel_preferences_general.xml | 63 ++++++++-------------- .../default/xui/en/panel_preferences_privacy.xml | 11 ---- 4 files changed, 30 insertions(+), 55 deletions(-) diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index 8c57b70e20..de1abd0bea 100755 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -4180,7 +4180,7 @@ Type String Value - + ForceShowGrid diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index 7a6a9309a0..437db62cac 100755 --- a/indra/newview/llpanellogin.cpp +++ b/indra/newview/llpanellogin.cpp @@ -272,7 +272,8 @@ LLPanelLogin::LLPanelLogin(const LLRect &rect, childSetAction("connect_favorite_btn", onClickConnectFavorite, this); childSetAction("connect_location_btn", onClickConnectLocation, this); - setDefaultBtn("connect_btn"); + LLButton* def_btn = getChild("connect_btn"); + setDefaultBtn(def_btn); std::string channel = LLVersionInfo::getChannel(); std::string version = llformat("%s (%d)", @@ -643,6 +644,7 @@ void LLPanelLogin::onUpdateStartSLURL(const LLSLURL& new_start_slurl) LL_DEBUGS("AppInit")<getChild("start_location_combo"); + LLLineEditor* location_edit = sInstance->getChild("location_edit"); /* * Determine whether or not the new_start_slurl modifies the grid. * @@ -672,7 +674,8 @@ void LLPanelLogin::onUpdateStartSLURL(const LLSLURL& new_start_slurl) updateServer(); // to change the links and splash screen } - location_combo->setTextEntry(new_start_slurl.getLocationString()); + //location_combo->setTextEntry(new_start_slurl.getLocationString()); + location_edit->setValue(new_start_slurl.getLocationString()); } else { @@ -757,7 +760,7 @@ void LLPanelLogin::loadLoginPage() // allow users (testers really) to specify a different login content URL std::string force_login_url = gSavedSettings.getString("ForceLoginURL"); - if ( force_login_url.length() ) + if ( force_login_url.length() > 0 ) { login_page = LLURI(force_login_url); } diff --git a/indra/newview/skins/default/xui/en/panel_preferences_general.xml b/indra/newview/skins/default/xui/en/panel_preferences_general.xml index ea0f7d8593..9da044ab64 100755 --- a/indra/newview/skins/default/xui/en/panel_preferences_general.xml +++ b/indra/newview/skins/default/xui/en/panel_preferences_general.xml @@ -179,46 +179,29 @@ left_pad="2" name="rating_icon_adult" width="18"/> - - Start location: - - - - - - - + + (Others using this computer will also see them) + + - -