Don't show the first run dialog. Our users don't need to sign up for an account, they didn't download this off steam or amazon.

Cinders 2013-09-23 20:27:47 -06:00
parent a804be039a
commit 3efa7cd1e6
1 changed files with 8 additions and 6 deletions

View File

@ -283,7 +283,7 @@ boost::scoped_ptr<LLViewerStats::PhaseMap> LLStartUp::sPhases(new LLViewerStats:
void login_show();
void login_callback(S32 option, void* userdata);
void show_first_run_dialog();
//void show_first_run_dialog(); // <FS:CR> Unused in Firestorm
bool first_run_dialog_callback(const LLSD& notification, const LLSD& response);
void set_startup_status(const F32 frac, const std::string& string, const std::string& msg);
bool login_alert_status(const LLSD& notification, const LLSD& response);
@ -979,7 +979,8 @@ bool idle_startup()
if (gSavedSettings.getBOOL("FirstLoginThisInstall"))
{
LL_INFOS("AppInit") << "FirstLoginThisInstall, calling show_first_run_dialog()" << LL_ENDL;
show_first_run_dialog();
// <FS:CR> Don't show first run dialog, ever, at all.
// show_first_run_dialog();
}
else
{
@ -2731,10 +2732,11 @@ void login_callback(S32 option, void *userdata)
}
}
void show_first_run_dialog()
{
LLNotificationsUtil::add("FirstRun", LLSD(), LLSD(), first_run_dialog_callback);
}
// <FS:CR> Ditch the first run modal. Assume the user already has an account.
//void show_first_run_dialog()
//{
// LLNotificationsUtil::add("FirstRun", LLSD(), LLSD(), first_run_dialog_callback);
//}
bool first_run_dialog_callback(const LLSD& notification, const LLSD& response)
{