diff options
| author | Nat Goodspeed <nat@lindenlab.com> | 2012-07-13 12:38:26 -0400 |
|---|---|---|
| committer | Nat Goodspeed <nat@lindenlab.com> | 2012-07-13 12:38:26 -0400 |
| commit | 8356cc1c4fd921cac46d9d98bdf80c7c8ae05b22 (patch) | |
| tree | 3923bbd9711b264b8a79e9f4c6458671dd975f11 /indra/newview/llpanellogin.cpp | |
| parent | b62cb3249c37778815a165250ab1110e4c45ef43 (diff) | |
Try reorganizing panel_login.xml per Leo's redesign.
This includes replacing the small "Sign up" link with a "CREATE YOUR ACCOUNT:
Start now" button, requiring a small tweak to the C++ code to Do The Right
Thing when the button (vs. the link) is clicked.
Diffstat (limited to 'indra/newview/llpanellogin.cpp')
| -rw-r--r-- | indra/newview/llpanellogin.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/indra/newview/llpanellogin.cpp b/indra/newview/llpanellogin.cpp index a7aa99dfde..e37155aeb6 100644 --- a/indra/newview/llpanellogin.cpp +++ b/indra/newview/llpanellogin.cpp @@ -175,8 +175,7 @@ LLPanelLogin::LLPanelLogin(const LLRect &rect, LLTextBox* forgot_password_text = getChild<LLTextBox>("forgot_password_text"); forgot_password_text->setClickedCallback(onClickForgotPassword, NULL); - LLTextBox* create_new_account_text = getChild<LLTextBox>("create_new_account_text"); - create_new_account_text->setClickedCallback(onClickNewAccount, NULL); + childSetAction("create_new_account_btn", onClickNewAccount, NULL); LLTextBox* need_help_text = getChild<LLTextBox>("login_help"); need_help_text->setClickedCallback(onClickHelp, NULL); @@ -1025,7 +1024,7 @@ void LLPanelLogin::updateLoginPanelLinks() // need to call through sInstance, as it's called from onSelectServer, which // is static. - sInstance->getChildView("create_new_account_text")->setVisible( system_grid); + sInstance->getChildView("create_new_account_btn")->setVisible( system_grid); sInstance->getChildView("forgot_password_text")->setVisible( system_grid); } |
