aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterpreference.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:27 -0500
committerJacek Antonelli2008-08-15 23:45:27 -0500
commita8a62201ba762e98dff92cf49033e577fc34d8d4 (patch)
tree11f8513c5cdc222f2fac0c93eb724c089803c200 /linden/indra/newview/llfloaterpreference.cpp
parentSecond Life viewer sources 1.18.6.4-RC (diff)
downloadmeta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.zip
meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.gz
meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.bz2
meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.xz
Second Life viewer sources 1.19.0.0
Diffstat (limited to 'linden/indra/newview/llfloaterpreference.cpp')
-rw-r--r--linden/indra/newview/llfloaterpreference.cpp13
1 files changed, 6 insertions, 7 deletions
diff --git a/linden/indra/newview/llfloaterpreference.cpp b/linden/indra/newview/llfloaterpreference.cpp
index 69937a0..09398fd 100644
--- a/linden/indra/newview/llfloaterpreference.cpp
+++ b/linden/indra/newview/llfloaterpreference.cpp
@@ -12,12 +12,12 @@
12 * ("GPL"), unless you have obtained a separate licensing agreement 12 * ("GPL"), unless you have obtained a separate licensing agreement
13 * ("Other License"), formally executed by you and Linden Lab. Terms of 13 * ("Other License"), formally executed by you and Linden Lab. Terms of
14 * the GPL can be found in doc/GPL-license.txt in this distribution, or 14 * the GPL can be found in doc/GPL-license.txt in this distribution, or
15 * online at http://secondlife.com/developers/opensource/gplv2 15 * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
16 * 16 *
17 * There are special exceptions to the terms and conditions of the GPL as 17 * There are special exceptions to the terms and conditions of the GPL as
18 * it is applied to this Source Code. View the full text of the exception 18 * it is applied to this Source Code. View the full text of the exception
19 * in the file doc/FLOSS-exception.txt in this software distribution, or 19 * in the file doc/FLOSS-exception.txt in this software distribution, or
20 * online at http://secondlife.com/developers/opensource/flossexception 20 * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception
21 * 21 *
22 * By copying, modifying or distributing this software, you acknowledge 22 * By copying, modifying or distributing this software, you acknowledge
23 * that you have read and understood your obligations described above, 23 * that you have read and understood your obligations described above,
@@ -95,7 +95,8 @@ LLFloaterPreference* LLFloaterPreference::sInstance = NULL;
95class LLPreferencesHandler : public LLCommandHandler 95class LLPreferencesHandler : public LLCommandHandler
96{ 96{
97public: 97public:
98 LLPreferencesHandler() : LLCommandHandler("preferences") { } 98 // don't allow from external browsers
99 LLPreferencesHandler() : LLCommandHandler("preferences", false) { }
99 bool handle(const LLSD& tokens, const LLSD& queryMap) 100 bool handle(const LLSD& tokens, const LLSD& queryMap)
100 { 101 {
101 LLFloaterPreference::show(NULL); 102 LLFloaterPreference::show(NULL);
@@ -442,8 +443,7 @@ void LLFloaterPreference::onClickAbout(void*)
442// static 443// static
443void LLFloaterPreference::onBtnOK( void* userdata ) 444void LLFloaterPreference::onBtnOK( void* userdata )
444{ 445{
445 //refresh splash page if we're displaying it 446 LLPanelLogin::refreshLocation( false );
446 LLPanelLogin::loadLoginPage();
447 447
448 LLFloaterPreference *fp =(LLFloaterPreference *)userdata; 448 LLFloaterPreference *fp =(LLFloaterPreference *)userdata;
449 // commit any outstanding text entry 449 // commit any outstanding text entry
@@ -489,8 +489,7 @@ void LLFloaterPreference::onBtnApply( void* userdata )
489 } 489 }
490 fp->apply(); 490 fp->apply();
491 491
492 //refresh splash page if we're displaying it 492 LLPanelLogin::refreshLocation( false );
493 LLPanelLogin::loadLoginPage();
494} 493}
495 494
496 495