Transaction Notifications are now optionally Notify Tips for those who don't want them to collect at the top right of the screen, but still want a notification.
Debug setting LiruNoTransactionClutter has been added, and is toggled by checkbox in General preferences This adds support for TransactionInfo message, to localize the server's transaction notifications. Adds a notification called Payment, which unifies all three of v-d's Payment* notifications. This is a fairly large change to view, keep in mind what was removed as it may just be in a slightly different order or position..
This commit is contained in:
@@ -72,6 +72,7 @@ BOOL LLPanelGeneral::postBuild()
|
||||
childSetValue("show_my_title_checkbox", gSavedSettings.getBOOL("RenderHideGroupTitle"));
|
||||
childSetValue("afk_timeout_spinner", gSavedSettings.getF32("AFKTimeout"));
|
||||
childSetValue("notify_money_change_checkbox", gSavedSettings.getBOOL("NotifyMoneyChange"));
|
||||
childSetValue("no_transaction_clutter_checkbox", gSavedSettings.getBOOL("LiruNoTransactionClutter"));
|
||||
|
||||
|
||||
|
||||
@@ -111,6 +112,9 @@ BOOL LLPanelGeneral::postBuild()
|
||||
childSetVisible("maturity_desired_combobox", can_choose);
|
||||
childSetVisible("maturity_desired_textbox", !can_choose);
|
||||
|
||||
childSetEnabled("no_transaction_clutter_checkbox", gSavedSettings.getBOOL("NotifyMoneyChange"));
|
||||
childSetCommitCallback("notify_money_change_checkbox", &onClickCheckbox, this);
|
||||
|
||||
childSetAction("clear_settings", &onClickClearSettings, this);
|
||||
|
||||
return TRUE;
|
||||
@@ -147,6 +151,7 @@ void LLPanelGeneral::apply()
|
||||
gSavedSettings.setBOOL("RenderHideGroupTitle", childGetValue("show_my_title_checkbox"));
|
||||
gSavedSettings.setF32("AFKTimeout", childGetValue("afk_timeout_spinner").asReal());
|
||||
gSavedSettings.setBOOL("NotifyMoneyChange", childGetValue("notify_money_change_checkbox"));
|
||||
gSavedSettings.setBOOL("LiruNoTransactionClutter", childGetValue("no_transaction_clutter_checkbox"));
|
||||
|
||||
|
||||
gSavedSettings.setF32("UIScaleFactor", childGetValue("ui_scale_slider").asReal());
|
||||
@@ -163,6 +168,15 @@ void LLPanelGeneral::cancel()
|
||||
{
|
||||
}
|
||||
|
||||
// static
|
||||
void LLPanelGeneral::onClickCheckbox(LLUICtrl* ctrl, void* data)
|
||||
{
|
||||
LLPanelGeneral* self = (LLPanelGeneral*)data;
|
||||
bool enabled = ctrl->getValue().asBoolean();
|
||||
if(ctrl->getName() == "notify_money_change_checkbox")
|
||||
self->childSetEnabled("no_transaction_clutter_checkbox", enabled);
|
||||
}
|
||||
|
||||
// static
|
||||
void LLPanelGeneral::onClickClearSettings(void*)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user