--HG--
branch : product-engine
meow-7.2.2
Tofu Linden 2010-02-03 18:26:53 +00:00
commit 7bb35543c1
10 changed files with 57 additions and 7 deletions

View File

@ -7802,7 +7802,7 @@
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>1</integer>
<integer>0</integer>
</map>
<key>ShowCrosshairs</key>
<map>

View File

@ -474,6 +474,7 @@ void LLBottomTray::onContextMenuItemClicked(const LLSD& userdata)
else if (item == "paste")
{
edit_box->paste();
edit_box->setFocus(TRUE);
}
else if (item == "delete")
{

View File

@ -1714,6 +1714,8 @@ void LLGroupMgr::sendGroupMemberEjects(const LLUUID& group_id,
for (std::vector<LLUUID>::iterator it = member_ids.begin();
it != member_ids.end(); ++it)
{
LLUUID& ejected_member_id = (*it);
// Can't use 'eject' to leave a group.
if ((*it) == gAgent.getID()) continue;
@ -1734,7 +1736,7 @@ void LLGroupMgr::sendGroupMemberEjects(const LLUUID& group_id,
}
msg->nextBlock("EjectData");
msg->addUUID("EjecteeID",(*it));
msg->addUUID("EjecteeID",ejected_member_id);
if (msg->isSendFull())
{
@ -1746,13 +1748,15 @@ void LLGroupMgr::sendGroupMemberEjects(const LLUUID& group_id,
for (LLGroupMemberData::role_list_t::iterator rit = (*mit).second->roleBegin();
rit != (*mit).second->roleEnd(); ++rit)
{
if ((*rit).first.notNull())
if ((*rit).first.notNull() && (*rit).second!=0)
{
(*rit).second->removeMember(*it);
(*rit).second->removeMember(ejected_member_id);
}
}
delete (*mit).second;
group_datap->mMembers.erase(*it);
delete (*mit).second;
}
}

View File

@ -572,6 +572,12 @@ void LLIMFloater::sessionInitReplyReceived(const LLUUID& im_session_id)
setKey(im_session_id);
mControlPanel->setSessionId(im_session_id);
}
// updating "Call" button from group control panel here to enable it without placing into draw() (EXT-4796)
if(gAgent.isInGroup(im_session_id))
{
mControlPanel->updateCallButton();
}
//*TODO here we should remove "starting session..." warning message if we added it in postBuild() (IB)

View File

@ -1709,6 +1709,8 @@ BOOL LLOutgoingCallDialog::postBuild()
childSetAction("Cancel", onCancel, this);
setCanDrag(FALSE);
return success;
}
@ -1808,6 +1810,8 @@ BOOL LLIncomingCallDialog::postBuild()
mLifetimeTimer.stop();
}
setCanDrag(FALSE);
return TRUE;
}

View File

@ -280,8 +280,6 @@ void LLPanelGroupControlPanel::draw()
// Need to resort the participant list if it's in sort by recent speaker order.
if (mParticipantList)
mParticipantList->updateRecentSpeakersOrder();
//* TODO: find better way to properly enable call button for group and remove this call from draw()
updateCallButton();
LLPanelChatControlPanel::draw();
}

View File

@ -667,6 +667,11 @@ void LLPanelPeople::updateFriendList()
lldebugs << "Friends Cards were not found" << llendl;
}
// show special help text for just created account to help found friends. EXT-4836
static LLTextBox* no_friends_text = getChild<LLTextBox>("no_friends_msg");
no_friends_text->setVisible(all_friendsp.size() == 0);
LLAvatarTracker::buddy_map_t::const_iterator buddy_it = all_buddies.begin();
for (; buddy_it != all_buddies.end(); ++buddy_it)
{

View File

@ -493,6 +493,10 @@ things in this group. There&apos;s a broad variety of Abilities.
tool_tip="For details of each allowed ability see the abilities tab"
top_pad="0"
width="300">
<scroll_list.columns
label=""
name="icon"
width="2" />
<scroll_list.columns
label=""
name="checkbox"

View File

@ -112,6 +112,23 @@
name="share_btn"
width="100" />
</layout_panel>
<layout_panel
auto_resize="false"
follows="top|left|right"
height="25"
layout="topleft"
min_height="25"
width="100"
name="share_btn_panel"
user_resize="false">
<button
auto_resize="true"
follows="left|top|right"
height="23"
label="Pay"
name="pay_btn"
width="100" />
</layout_panel>
<layout_panel
auto_resize="false"
follows="top|left|right"

View File

@ -160,6 +160,17 @@ background_visible="true"
width="313" />
</accordion_tab>
</accordion>
<text
follows="all"
height="450"
left="10"
name="no_friends_msg"
top="10"
width="293"
wrap="true">
To add friends try [secondlife:///app/search/people global search] or click on a user to add them as a friend.
If you're looking for people to hang out with, [secondlife:///app/worldmap try the Map].
</text>
<panel
follows="left|right|bottom"
height="30"