diff options
author | McCabe Maxsted | 2011-07-05 18:08:56 -0700 |
---|---|---|
committer | McCabe Maxsted | 2011-07-05 18:09:14 -0700 |
commit | c196d23ec86e30adc3b62aa21f14aec7f0cbd0ad (patch) | |
tree | 56d2b84d2de586a825f4c6431ad26925c3e3eab1 | |
parent | Applied 0001-Fix-hang-in-LLFloater-getClosableFloaterFromFocus-2..patch by Ma... (diff) | |
download | meta-impy-c196d23ec86e30adc3b62aa21f14aec7f0cbd0ad.zip meta-impy-c196d23ec86e30adc3b62aa21f14aec7f0cbd0ad.tar.gz meta-impy-c196d23ec86e30adc3b62aa21f14aec7f0cbd0ad.tar.bz2 meta-impy-c196d23ec86e30adc3b62aa21f14aec7f0cbd0ad.tar.xz |
Fixed #1011: chat range options aren't saved in prefs > notifications
-rw-r--r-- | linden/indra/newview/llpanelgeneral.cpp | 5 | ||||
-rw-r--r-- | linden/indra/newview/llpanelmsgs.cpp | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/linden/indra/newview/llpanelgeneral.cpp b/linden/indra/newview/llpanelgeneral.cpp index ac957ed..9c5e993 100644 --- a/linden/indra/newview/llpanelgeneral.cpp +++ b/linden/indra/newview/llpanelgeneral.cpp | |||
@@ -99,9 +99,6 @@ BOOL LLPanelGeneral::postBuild() | |||
99 | childSetValue("afk_timeout_checkbox", gSavedSettings.getBOOL("AllowIdleAFK")); | 99 | childSetValue("afk_timeout_checkbox", gSavedSettings.getBOOL("AllowIdleAFK")); |
100 | childSetCommitCallback("afk_timeout_checkbox", onCommitAFKCheckbox, this); | 100 | childSetCommitCallback("afk_timeout_checkbox", onCommitAFKCheckbox, this); |
101 | 101 | ||
102 | childSetValue("mini_map_notify_chat", gSavedSettings.getBOOL("MiniMapNotifyChatRange")); | ||
103 | childSetValue("mini_map_notify_sim", gSavedSettings.getBOOL("MiniMapNotifySimRange")); | ||
104 | |||
105 | // mDisplayNamesUsage = gSavedSettings.getU32("DisplayNamesUsage"); | 102 | // mDisplayNamesUsage = gSavedSettings.getU32("DisplayNamesUsage"); |
106 | // mLegacyNamesForFriends = gSavedSettings.getBOOL("LegacyNamesForFriends"); | 103 | // mLegacyNamesForFriends = gSavedSettings.getBOOL("LegacyNamesForFriends"); |
107 | 104 | ||
@@ -168,8 +165,6 @@ void LLPanelGeneral::apply() | |||
168 | //gSavedSettings.setBOOL("RenderHideGroupTitle", childGetValue("show_my_title_checkbox")); -- MC | 165 | //gSavedSettings.setBOOL("RenderHideGroupTitle", childGetValue("show_my_title_checkbox")); -- MC |
169 | gSavedSettings.setF32("AFKTimeout", 60 * childGetValue("afk_timeout_spinner").asReal()); // User enters minutes, we store as seconds -- MC | 166 | gSavedSettings.setF32("AFKTimeout", 60 * childGetValue("afk_timeout_spinner").asReal()); // User enters minutes, we store as seconds -- MC |
170 | gSavedSettings.setBOOL("AllowIdleAFK", childGetValue("afk_timeout_checkbox")); | 167 | gSavedSettings.setBOOL("AllowIdleAFK", childGetValue("afk_timeout_checkbox")); |
171 | gSavedSettings.setBOOL("MiniMapNotifyChatRange", childGetValue("mini_map_notify_chat")); | ||
172 | gSavedSettings.setBOOL("MiniMapNotifySimRange", childGetValue("mini_map_notify_sim")); | ||
173 | gSavedSettings.setString("Language", childGetValue("language_combobox")); | 168 | gSavedSettings.setString("Language", childGetValue("language_combobox")); |
174 | 169 | ||
175 | /* | 170 | /* |
diff --git a/linden/indra/newview/llpanelmsgs.cpp b/linden/indra/newview/llpanelmsgs.cpp index 572bcc3..ad8de87 100644 --- a/linden/indra/newview/llpanelmsgs.cpp +++ b/linden/indra/newview/llpanelmsgs.cpp | |||
@@ -72,6 +72,9 @@ BOOL LLPanelMsgs::postBuild() | |||
72 | 72 | ||
73 | childSetValue("friends_online_notify_checkbox", gSavedSettings.getBOOL("ChatOnlineNotification")); | 73 | childSetValue("friends_online_notify_checkbox", gSavedSettings.getBOOL("ChatOnlineNotification")); |
74 | 74 | ||
75 | childSetValue("mini_map_notify_chat", gSavedSettings.getBOOL("MiniMapNotifyChatRange")); | ||
76 | childSetValue("mini_map_notify_sim", gSavedSettings.getBOOL("MiniMapNotifySimRange")); | ||
77 | |||
75 | return TRUE; | 78 | return TRUE; |
76 | } | 79 | } |
77 | 80 | ||
@@ -170,6 +173,9 @@ void LLPanelMsgs::apply() | |||
170 | gSavedSettings.setBOOL("NotifyMoneyChange", childGetValue("notify_money_change_checkbox")); | 173 | gSavedSettings.setBOOL("NotifyMoneyChange", childGetValue("notify_money_change_checkbox")); |
171 | 174 | ||
172 | gSavedSettings.setBOOL("ChatOnlineNotification", childGetValue("friends_online_notify_checkbox").asBoolean()); | 175 | gSavedSettings.setBOOL("ChatOnlineNotification", childGetValue("friends_online_notify_checkbox").asBoolean()); |
176 | |||
177 | gSavedSettings.setBOOL("MiniMapNotifyChatRange", childGetValue("mini_map_notify_chat")); | ||
178 | gSavedSettings.setBOOL("MiniMapNotifySimRange", childGetValue("mini_map_notify_sim")); | ||
173 | } | 179 | } |
174 | 180 | ||
175 | void LLPanelMsgs::cancel() | 181 | void LLPanelMsgs::cancel() |