diff options
author | McCabe Maxsted | 2010-06-16 01:39:09 -0700 |
---|---|---|
committer | Jacek Antonelli | 2010-06-19 02:43:39 -0500 |
commit | 676888a3efeceb8530172392c6fa058891997169 (patch) | |
tree | 3a49281ae41000581f4d631fe2ca02a6c4bfb25c /linden | |
parent | Fixed #338: addRegion/removeRegion can trigger a viewer quit (diff) | |
download | meta-impy-676888a3efeceb8530172392c6fa058891997169.zip meta-impy-676888a3efeceb8530172392c6fa058891997169.tar.gz meta-impy-676888a3efeceb8530172392c6fa058891997169.tar.bz2 meta-impy-676888a3efeceb8530172392c6fa058891997169.tar.xz |
Moved connecting to region failed error to notifications.xml
Diffstat (limited to 'linden')
-rw-r--r-- | linden/indra/newview/llstartup.cpp | 4 | ||||
-rw-r--r-- | linden/indra/newview/skins/default/xui/en-us/notifications.xml | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp index 30e299a..4e8da34 100644 --- a/linden/indra/newview/llstartup.cpp +++ b/linden/indra/newview/llstartup.cpp | |||
@@ -2105,9 +2105,7 @@ bool idle_startup() | |||
2105 | // Bounce back to the login screen -- MC | 2105 | // Bounce back to the login screen -- MC |
2106 | LL_WARNS("AppInit") << "Bad login - can't connect to this region for some reason" << LL_ENDL; | 2106 | LL_WARNS("AppInit") << "Bad login - can't connect to this region for some reason" << LL_ENDL; |
2107 | LLStartUp::setLoginFailed(true); | 2107 | LLStartUp::setLoginFailed(true); |
2108 | LLSD args; | 2108 | LLNotifications::instance().add("ConnectingToRegionError", LLSD(), LLSD(), login_alert_done); |
2109 | args["ERROR_MESSAGE"] = "Unable to connect to the current region. Try logging into a different region instead. The default login location can be set in the General tab in Preferences."; | ||
2110 | LLNotifications::instance().add("ErrorMessage", args, LLSD(), login_alert_done); | ||
2111 | LLStartUp::resetLogin(); | 2109 | LLStartUp::resetLogin(); |
2112 | gSavedSettings.setBOOL("AutoLogin", FALSE); | 2110 | gSavedSettings.setBOOL("AutoLogin", FALSE); |
2113 | //this might be redundant | 2111 | //this might be redundant |
diff --git a/linden/indra/newview/skins/default/xui/en-us/notifications.xml b/linden/indra/newview/skins/default/xui/en-us/notifications.xml index f7f8e7e..5677073 100644 --- a/linden/indra/newview/skins/default/xui/en-us/notifications.xml +++ b/linden/indra/newview/skins/default/xui/en-us/notifications.xml | |||
@@ -6849,6 +6849,15 @@ Are you sure you want to teleport home? | |||
6849 | 6849 | ||
6850 | <notification | 6850 | <notification |
6851 | icon="alertmodal.tga" | 6851 | icon="alertmodal.tga" |
6852 | name="ConnectingToRegionError" | ||
6853 | type="alertmodal"> | ||
6854 | Unable to connect to the current region. Try logging into a different region instead. | ||
6855 | |||
6856 | The default login location can be set in the General tab in Preferences. | ||
6857 | </notification> | ||
6858 | |||
6859 | <notification | ||
6860 | icon="alertmodal.tga" | ||
6852 | name="DisconnectedFromRegion" | 6861 | name="DisconnectedFromRegion" |
6853 | type="alertmodal"> | 6862 | type="alertmodal"> |
6854 | You have been disconnected from the region you were in. Unable to continue. | 6863 | You have been disconnected from the region you were in. Unable to continue. |