LLGroupActions too! (Strengthens RLVa restrictions!)
Cleans up llfloatergroupinfo, makes it an instance tracker... pretty much as nice as llfloateravatarinfo now ^*^ Adds notifications JoinGroupNoCost and JoinedTooManyGroups (added to our existing translations, of course) Cleans up all around, placing groupactions around. Touches up bits for avataractions
This commit is contained in:
@@ -44,11 +44,10 @@
|
||||
#include "lltransactiontypes.h"
|
||||
#include "llstatusbar.h"
|
||||
#include "lleconomy.h"
|
||||
#include "llviewercontrol.h"
|
||||
#include "llviewerregion.h"
|
||||
#include "llviewerwindow.h"
|
||||
#include "llfloaterdirectory.h"
|
||||
#include "llfloatergroupinfo.h"
|
||||
#include "llgroupactions.h"
|
||||
#include "llnotificationsutil.h"
|
||||
#include "lluictrlfactory.h"
|
||||
#include "lltrans.h"
|
||||
@@ -1361,7 +1360,7 @@ void LLGroupMgr::processEjectGroupMemberReply(LLMessageSystem* msg, void ** data
|
||||
// If we had a failure, the group panel needs to be updated.
|
||||
if (!success)
|
||||
{
|
||||
LLFloaterGroupInfo::refreshGroup(group_id);
|
||||
LLGroupActions::refresh(group_id);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1381,7 +1380,7 @@ void LLGroupMgr::processJoinGroupReply(LLMessageSystem* msg, void ** data)
|
||||
|
||||
LLGroupMgr::getInstance()->clearGroupData(group_id);
|
||||
// refresh the floater for this group, if any.
|
||||
LLFloaterGroupInfo::refreshGroup(group_id);
|
||||
LLGroupActions::refresh(group_id);
|
||||
// refresh the group panel of the search window, if necessary.
|
||||
LLFloaterDirectory::refreshGroup(group_id);
|
||||
}
|
||||
@@ -1403,7 +1402,7 @@ void LLGroupMgr::processLeaveGroupReply(LLMessageSystem* msg, void ** data)
|
||||
|
||||
LLGroupMgr::getInstance()->clearGroupData(group_id);
|
||||
// close the floater for this group, if any.
|
||||
LLFloaterGroupInfo::closeGroup(group_id);
|
||||
LLGroupActions::closeGroup(group_id);
|
||||
// refresh the group panel of the search window, if necessary.
|
||||
LLFloaterDirectory::refreshGroup(group_id);
|
||||
}
|
||||
@@ -1439,8 +1438,8 @@ void LLGroupMgr::processCreateGroupReply(LLMessageSystem* msg, void ** data)
|
||||
|
||||
gAgent.mGroups.push_back(gd);
|
||||
|
||||
LLFloaterGroupInfo::closeCreateGroup();
|
||||
LLFloaterGroupInfo::showFromUUID(group_id,"roles_tab");
|
||||
LLGroupActions::closeGroup(LLUUID::null);
|
||||
LLGroupActions::showTab(group_id, "roles_tab");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user