diff options
author | McCabe Maxsted | 2010-07-30 17:08:24 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-07-30 17:08:24 -0700 |
commit | c5b42b7e783743203d08cc69ac922431cfd58e4d (patch) | |
tree | 3125fd9590c3400d87481188aaab50de4b71650b /linden/indra/newview/llprefsadvanced.cpp | |
parent | Don't play typing anim when using a default channel other than 0 (diff) | |
download | meta-impy-c5b42b7e783743203d08cc69ac922431cfd58e4d.zip meta-impy-c5b42b7e783743203d08cc69ac922431cfd58e4d.tar.gz meta-impy-c5b42b7e783743203d08cc69ac922431cfd58e4d.tar.bz2 meta-impy-c5b42b7e783743203d08cc69ac922431cfd58e4d.tar.xz |
Added option in Preferences > General for setting the default time to 12 hour/24 hour/UTC. Side effects: moved crash logger settings to advanced prefs, fixed french date translations, past/future dates and times still need to be correctly formatted
Diffstat (limited to 'linden/indra/newview/llprefsadvanced.cpp')
-rw-r--r-- | linden/indra/newview/llprefsadvanced.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linden/indra/newview/llprefsadvanced.cpp b/linden/indra/newview/llprefsadvanced.cpp index 9429d2d..6489f52 100644 --- a/linden/indra/newview/llprefsadvanced.cpp +++ b/linden/indra/newview/llprefsadvanced.cpp | |||
@@ -30,6 +30,8 @@ | |||
30 | 30 | ||
31 | #include "llviewerprecompiledheaders.h" | 31 | #include "llviewerprecompiledheaders.h" |
32 | 32 | ||
33 | #include "llcombobox.h" | ||
34 | |||
33 | #include "llagent.h" | 35 | #include "llagent.h" |
34 | #include "llprefsadvanced.h" | 36 | #include "llprefsadvanced.h" |
35 | #include "llviewercontrol.h" | 37 | #include "llviewercontrol.h" |
@@ -65,6 +67,9 @@ BOOL LLPrefsAdvanced::postBuild() | |||
65 | childSetValue("legacy_pie_menu_checkbox", gSavedSettings.getBOOL("LegacyPieEnabled")); | 67 | childSetValue("legacy_pie_menu_checkbox", gSavedSettings.getBOOL("LegacyPieEnabled")); |
66 | childSetValue("language_is_public", gSavedSettings.getBOOL("LanguageIsPublic")); | 68 | childSetValue("language_is_public", gSavedSettings.getBOOL("LanguageIsPublic")); |
67 | 69 | ||
70 | LLComboBox* crash_behavior_combobox = getChild<LLComboBox>("crash_behavior_combobox"); | ||
71 | crash_behavior_combobox->setCurrentByIndex(gCrashSettings.getS32(CRASH_BEHAVIOR_SETTING)); | ||
72 | |||
68 | refresh(); | 73 | refresh(); |
69 | 74 | ||
70 | return TRUE; | 75 | return TRUE; |
@@ -139,6 +144,9 @@ void LLPrefsAdvanced::apply() | |||
139 | gSavedSettings.setBOOL("LegacyPieEnabled", childGetValue("legacy_pie_menu_checkbox")); | 144 | gSavedSettings.setBOOL("LegacyPieEnabled", childGetValue("legacy_pie_menu_checkbox")); |
140 | build_pie_menus(); | 145 | build_pie_menus(); |
141 | } | 146 | } |
147 | |||
148 | LLComboBox* crash_behavior_combobox = getChild<LLComboBox>("crash_behavior_combobox"); | ||
149 | gCrashSettings.setS32(CRASH_BEHAVIOR_SETTING, crash_behavior_combobox->getCurrentIndex()); | ||
142 | } | 150 | } |
143 | 151 | ||
144 | void LLPrefsAdvanced::cancel() | 152 | void LLPrefsAdvanced::cancel() |