Reorganize Autoresponse settings into a tab container.

Benefits:
There's now a lot more room on the autoresponse tab for more settings
- AutoresponseOnlyIfAway is now exposed.
The text field for response messages is now large
Drop Targets now take up the entire tab, so the item can be dropped anywhere within the autoresponse's settings context

Translators: panel_preferences_ascent_chat.xml
This will need some minor adjustments, obviously.
You'll also need to translate the new AutoresponseOnlyIfAway checkbox
This commit is contained in:
Lirusaito
2016-02-13 11:22:10 -05:00
parent c5de5cf65c
commit 379543a405
3 changed files with 34 additions and 21 deletions

View File

@@ -256,6 +256,7 @@ void LLPrefsAscentChat::refreshValues()
//Autoresponse ------------------------------------------------------------------------
mIMResponseRepeat = gSavedPerAccountSettings.getBOOL("AscentInstantMessageResponseRepeat");
mIMResponseAway = gSavedPerAccountSettings.getBOOL("AutoresponseOnlyIfAway");
mIMResponseAnyone = gSavedPerAccountSettings.getBOOL("AutoresponseAnyone");
mIMResponseAnyoneFriends = gSavedPerAccountSettings.getBOOL("AutoresponseAnyoneFriendsOnly");
mIMResponseAnyoneItem = gSavedPerAccountSettings.getBOOL("AutoresponseAnyoneItem");
@@ -495,6 +496,7 @@ void LLPrefsAscentChat::cancel()
//Autoresponse ------------------------------------------------------------------------
gSavedPerAccountSettings.setBOOL("AscentInstantMessageResponseRepeat", mIMResponseRepeat);
gSavedPerAccountSettings.setBOOL("AutoresponseOnlyIfAway", mIMResponseAway);
gSavedPerAccountSettings.setBOOL("AutoresponseAnyone", mIMResponseAnyone);
gSavedPerAccountSettings.setBOOL("AutoresponseAnyoneFriendsOnly", mIMResponseAnyoneFriends);
gSavedPerAccountSettings.setBOOL("AutoresponseAnyoneItem", mIMResponseAnyoneItem);