diff options
Diffstat (limited to 'linden/indra/newview/llfirstuse.cpp')
-rw-r--r-- | linden/indra/newview/llfirstuse.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/linden/indra/newview/llfirstuse.cpp b/linden/indra/newview/llfirstuse.cpp index 34e3fcc..c0f07e5 100644 --- a/linden/indra/newview/llfirstuse.cpp +++ b/linden/indra/newview/llfirstuse.cpp | |||
@@ -46,6 +46,7 @@ | |||
46 | #include "lltracker.h" | 46 | #include "lltracker.h" |
47 | 47 | ||
48 | #include "llvoavatar.h" | 48 | #include "llvoavatar.h" |
49 | #include "floatergriddefault.h" | ||
49 | #include "hippoGridManager.h" | 50 | #include "hippoGridManager.h" |
50 | 51 | ||
51 | // [RLVa:KB] - Version: 1.22.11 | 52 | // [RLVa:KB] - Version: 1.22.11 |
@@ -308,6 +309,7 @@ void LLFirstUse::useMedia() | |||
308 | LLNotifications::instance().add("FirstMedia"); | 309 | LLNotifications::instance().add("FirstMedia"); |
309 | } | 310 | } |
310 | } | 311 | } |
312 | |||
311 | void LLFirstUse::callbackClientTags(const LLSD& notification, const LLSD& response) | 313 | void LLFirstUse::callbackClientTags(const LLSD& notification, const LLSD& response) |
312 | { | 314 | { |
313 | gSavedSettings.setWarning("ClientTags", FALSE); | 315 | gSavedSettings.setWarning("ClientTags", FALSE); |
@@ -331,6 +333,7 @@ void LLFirstUse::callbackClientTags(const LLSD& notification, const LLSD& respon | |||
331 | gSavedSettings.setBOOL("DownloadClientTags",FALSE); | 333 | gSavedSettings.setBOOL("DownloadClientTags",FALSE); |
332 | } | 334 | } |
333 | } | 335 | } |
336 | |||
334 | // static | 337 | // static |
335 | void LLFirstUse::ClientTags() | 338 | void LLFirstUse::ClientTags() |
336 | { | 339 | { |
@@ -340,3 +343,14 @@ void LLFirstUse::ClientTags() | |||
340 | } | 343 | } |
341 | } | 344 | } |
342 | 345 | ||
346 | // static | ||
347 | void LLFirstUse::useLoginScreen() | ||
348 | { | ||
349 | if (gSavedSettings.getWarning("FirstLoginScreen")) | ||
350 | { | ||
351 | gSavedSettings.setWarning("FirstLoginScreen", FALSE); | ||
352 | |||
353 | FloaterGridDefault::getInstance()->open(); | ||
354 | FloaterGridDefault::getInstance()->center(); | ||
355 | } | ||
356 | } | ||