More fixes after RLVa plonk
This commit is contained in:
@@ -145,7 +145,6 @@ LLNotifyBox::LLNotifyBox(LLNotificationPtr notification,
|
||||
setIsChrome(TRUE);
|
||||
|
||||
// class init
|
||||
if (!sFont)
|
||||
{
|
||||
sFont = LLFontGL::getFontSansSerif();
|
||||
sFontSmall = LLFontGL::getFontSansSerifSmall();
|
||||
@@ -270,12 +269,6 @@ LLNotifyBox::LLNotifyBox(LLNotificationPtr notification,
|
||||
|
||||
if (mIsTip)
|
||||
{
|
||||
if (!gSavedSettings.getBOOL("HideNotificationsInChat")) {
|
||||
// TODO: Make a separate archive for these.
|
||||
LLChat chat(mMessage);
|
||||
chat.mSourceType = CHAT_SOURCE_SYSTEM;
|
||||
LLFloaterChat::getInstance(LLSD())->addChatHistory(chat);
|
||||
}
|
||||
// TODO: Make a separate archive for these.
|
||||
LLChat chat(mMessage);
|
||||
chat.mSourceType = CHAT_SOURCE_SYSTEM;
|
||||
@@ -286,7 +279,9 @@ LLNotifyBox::LLNotifyBox(LLNotificationPtr notification,
|
||||
chat.mRlvLocFiltered = chat.mRlvNamesFiltered = TRUE;
|
||||
}
|
||||
// [/RLVa:KB]
|
||||
LLFloaterChat::getInstance(LLSD())->addChatHistory(chat);
|
||||
if (!gSavedSettings.getBOOL("HideNotificationsInChat")) {
|
||||
LLFloaterChat::getInstance(LLSD())->addChatHistory(chat);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@@ -353,23 +353,18 @@ void LLPanelPermissions::refresh()
|
||||
}
|
||||
// [/RLVa:KB]
|
||||
|
||||
childSetText("Owner Name",owner_name);
|
||||
childSetEnabled("Owner Name",TRUE);
|
||||
// childSetEnabled("button owner profile",owners_identical && (mOwnerID.notNull() || LLSelectMgr::getInstance()->selectIsGroupOwned()));
|
||||
// [RLVa:KB] - Checked: 2009-07-08 (RLVa-1.0.0e)
|
||||
childSetEnabled("button owner profile",
|
||||
fRlvEnableOwner && owners_identical && (mOwnerID.notNull() || LLSelectMgr::getInstance()->selectIsGroupOwned()));
|
||||
// [/RLVa:KB]
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
childSetText("Last Owner Name",last_owner_name);
|
||||
childSetEnabled("Last Owner Name",TRUE);
|
||||
childSetEnabled("button last owner profile",owners_identical && mLastOwnerID.notNull());
|
||||
|
||||
|
||||
|
||||
|
||||
// update group text field
|
||||
childSetEnabled("Group:",true);
|
||||
childSetText("Group Name",LLStringUtil::null);
|
||||
|
||||
Reference in New Issue
Block a user