Make parcel info button in top bar open About Land instead of the Places sidebar panel.

meow-7.2.2
Tonya Souther 2011-01-20 10:53:41 -06:00
parent 5e1f13d169
commit 4b798fce1d
2 changed files with 5 additions and 2 deletions

View File

@ -31,6 +31,7 @@
#include "llagent.h"
#include "llagentui.h"
#include "llclipboard.h"
#include "llfloaterreg.h"
#include "lllandmarkactions.h"
#include "lllocationinputctrl.h"
#include "llnotificationsutil.h"
@ -439,5 +440,6 @@ void LLPanelTopInfoBar::onContextMenuItemClicked(const LLSD::String& item)
void LLPanelTopInfoBar::onInfoButtonClicked()
{
LLSideTray::getInstance()->showPanel("panel_places", LLSD().with("type", "agent"));
//LLSideTray::getInstance()->showPanel("panel_places", LLSD().with("type", "agent"));
LLFloaterReg::showInstance("about_land");
}

View File

@ -897,5 +897,6 @@ void LLStatusBar::onContextMenuItemClicked(const LLSD::String& item)
void LLStatusBar::onInfoButtonClicked()
{
LLSideTray::getInstance()->showPanel("panel_places", LLSD().with("type", "agent"));
//LLSideTray::getInstance()->showPanel("panel_places", LLSD().with("type", "agent"));
LLFloaterReg::showInstance("about_land");
}