From 954827030619f4c5bcafdeaae4794013cc72446a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Liru=20F=C3=A6rs?= Date: Fri, 7 Feb 2020 08:48:15 -0500 Subject: [PATCH] Buncha tinies Link name in inventory offer received chat message Fix shupdate compile missing ; and include from two commits ago Update links used in menu_viewer.xml, I have things to do today... And move inventory button on toolbar to between favs and received --- indra/newview/llviewermessage.cpp | 4 +++- indra/newview/shupdatechecker.cpp | 5 ++--- .../skins/default/xui/en-us/floater_toolbar_prefs.xml | 2 +- indra/newview/skins/default/xui/en-us/menu_viewer.xml | 4 ++-- .../newview/skins/default/xui/en-us/panel_toolbar.xml | 10 +++++----- 5 files changed, 13 insertions(+), 12 deletions(-) diff --git a/indra/newview/llviewermessage.cpp b/indra/newview/llviewermessage.cpp index 7b7330335..c9f900741 100644 --- a/indra/newview/llviewermessage.cpp +++ b/indra/newview/llviewermessage.cpp @@ -1406,8 +1406,10 @@ bool LLOfferInfo::inventory_offer_callback(const LLSD& notification, const LLSD& //don't spam them if they are getting flooded if (check_offer_throttle(mFromName, true)) { - log_message = chatHistory_string + " " + LLTrans::getString("InvOfferGaveYou") + " " + mDesc + LLTrans::getString("."); + log_message = chatHistory_string + ' ' + LLTrans::getString("InvOfferGaveYou") + ' ' + mDesc + LLTrans::getString("."); chat.mText = log_message; + chat.mURL = LLAvatarActions::getSLURL(mFromID); + chat.mFromName = mFromName; LLFloaterChat::addChatHistory(chat); } diff --git a/indra/newview/shupdatechecker.cpp b/indra/newview/shupdatechecker.cpp index 187653d87..c75cc7021 100644 --- a/indra/newview/shupdatechecker.cpp +++ b/indra/newview/shupdatechecker.cpp @@ -5,11 +5,10 @@ #include "llnotificationsutil.h" #include "llversioninfo.h" #include "llviewerwindow.h" +#include "llsdjson.h" #include "llweb.h" #include "llwindow.h" -#include - void onNotifyButtonPress(const LLSD& notification, const LLSD& response, std::string name, std::string url) { @@ -93,7 +92,7 @@ public: LL_WARNS() << "Failed to parse json string from body." << LL_ENDL; // TODO: Should we say something here for the user? } - else onCompleted(data[mType], mType == "release") + else onCompleted(data[mType], mType == "release"); } protected: diff --git a/indra/newview/skins/default/xui/en-us/floater_toolbar_prefs.xml b/indra/newview/skins/default/xui/en-us/floater_toolbar_prefs.xml index 74d046227..7f881dbae 100644 --- a/indra/newview/skins/default/xui/en-us/floater_toolbar_prefs.xml +++ b/indra/newview/skins/default/xui/en-us/floater_toolbar_prefs.xml @@ -76,11 +76,11 @@ - + diff --git a/indra/newview/skins/default/xui/en-us/menu_viewer.xml b/indra/newview/skins/default/xui/en-us/menu_viewer.xml index 79821cd4b..16bc7ceb3 100644 --- a/indra/newview/skins/default/xui/en-us/menu_viewer.xml +++ b/indra/newview/skins/default/xui/en-us/menu_viewer.xml @@ -598,12 +598,12 @@ + userdata="WebLaunchAccountHistory,https://accounts.secondlife.com/transaction_history/" /> + userdata="WebLaunchJoinNow,https://secondlife.com/my/account/index.php" /> diff --git a/indra/newview/skins/default/xui/en-us/panel_toolbar.xml b/indra/newview/skins/default/xui/en-us/panel_toolbar.xml index 5f7135ceb..69883f018 100644 --- a/indra/newview/skins/default/xui/en-us/panel_toolbar.xml +++ b/indra/newview/skins/default/xui/en-us/panel_toolbar.xml @@ -387,11 +387,6 @@ - - - + + +