Put in some changes along sg1.4 dev history.
This commit is contained in:
@@ -116,6 +116,7 @@ BOOL LLPrefsIMImpl::postBuild()
|
||||
childDisable("log_chat_timestamp");
|
||||
childDisable("log_chat_IM");
|
||||
childDisable("log_date_timestamp");
|
||||
childDisable("logfile_name_datestamp");
|
||||
|
||||
childSetText("busy_response", getString("log_in_to_change"));
|
||||
|
||||
@@ -131,6 +132,7 @@ BOOL LLPrefsIMImpl::postBuild()
|
||||
childSetValue("log_chat_timestamp", gSavedPerAccountSettings.getBOOL("LogChatTimestamp"));
|
||||
childSetValue("log_chat_IM", gSavedPerAccountSettings.getBOOL("LogChatIM"));
|
||||
childSetValue("log_date_timestamp", gSavedPerAccountSettings.getBOOL("LogTimestampDate"));
|
||||
childSetValue("logfile_name_datestamp", gSavedPerAccountSettings.getBOOL("LogFileNamewithDate"));
|
||||
|
||||
childSetAction("log_path_button", onClickLogPath, this);
|
||||
childSetCommitCallback("log_chat",onCommitLogging,this);
|
||||
@@ -180,6 +182,7 @@ void LLPrefsIMImpl::apply()
|
||||
gSavedPerAccountSettings.setBOOL("LogChatTimestamp",childGetValue("log_chat_timestamp").asBoolean());
|
||||
gSavedPerAccountSettings.setBOOL("LogChatIM",childGetValue("log_chat_IM").asBoolean());
|
||||
gSavedPerAccountSettings.setBOOL("LogTimestampDate",childGetValue("log_date_timestamp").asBoolean());
|
||||
gSavedPerAccountSettings.setBOOL("LogFileNamewithDate",childGetValue("logfile_name_datestamp").asBoolean());
|
||||
|
||||
gDirUtilp->setChatLogsDir(gSavedPerAccountSettings.getString("InstantMessageLogPath"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user