From 415e2f8e8131f8a90912aa7e218f55e2cfa4f7ce Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Wed, 6 Mar 2024 23:02:51 -0500
Subject: [PATCH] Tweak nav bar about land

---
 indra/newview/lllocationinputctrl.cpp            |  2 +-
 .../default/xui/en/panel_navigation_bar.xml      | 16 ++++++++++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/indra/newview/lllocationinputctrl.cpp b/indra/newview/lllocationinputctrl.cpp
index 435250e92bb..e67c37bf1e7 100644
--- a/indra/newview/lllocationinputctrl.cpp
+++ b/indra/newview/lllocationinputctrl.cpp
@@ -645,7 +645,7 @@ void LLLocationInputCtrl::onInfoButtonClicked()
 		return;
 // [/RLVa:KB]
 
-	LLFloaterReg::showInstance("about_land");
+	LLFloaterSidePanelContainer::showPanel("places", LLSD().with("type", "agent"));
 }
 
 void LLLocationInputCtrl::onForSaleButtonClicked()
diff --git a/indra/newview/skins/default/xui/en/panel_navigation_bar.xml b/indra/newview/skins/default/xui/en/panel_navigation_bar.xml
index 8e9c86f12cd..2dbb28ccfa6 100644
--- a/indra/newview/skins/default/xui/en/panel_navigation_bar.xml
+++ b/indra/newview/skins/default/xui/en/panel_navigation_bar.xml
@@ -119,6 +119,22 @@
 	         tool_tip="Teleport to my home location"
 	         top_delta="0"
 	         width="32" />
+	        <button
+	         follows="left|top"
+	         height="23"
+	         image_bottom_pad="1"
+	         image_overlay="Command_AboutLand_Icon"
+	         image_hover_unselected="PushButton_Over"
+	         layout="topleft"
+	         left_pad="5"
+	         name="about_land"
+	         tool_tip="Opens the About Land floater"
+	         top_delta="0"
+	         width="32" >
+             <button.init_callback
+              function="Button.SetFloaterToggle"
+	          parameter="about_land" />
+		     </button>
 	        <location_input
                        follows="all"
 	         halign="right"
-- 
GitLab