meow-7.2.2
MaximB ProductEngine 2012-12-12 03:06:10 +02:00
commit 8037b43588
8 changed files with 17 additions and 7 deletions

View File

@ -1696,6 +1696,11 @@ void LLFloaterIMContainer::updateSpeakBtnState()
mSpeakBtn->setEnabled(LLAgent::isActionAllowed("speak"));
}
bool LLFloaterIMContainer::isConversationLoggingAllowed()
{
return gSavedSettings.getBOOL("KeepConversationLogTranscripts");
}
void LLFloaterIMContainer::flashConversationItemWidget(const LLUUID& session_id, bool is_flashes)
{
//Finds the conversation line item to flash using the session_id

View File

@ -174,6 +174,7 @@ public:
void setNearbyDistances();
void reSelectConversation();
void updateSpeakBtnState();
static bool isConversationLoggingAllowed();
void flashConversationItemWidget(const LLUUID& session_id, bool is_flashes);
private:

View File

@ -59,6 +59,7 @@
#include "llbuycurrencyhtml.h"
#include "llfloatergodtools.h"
#include "llfloaterinventory.h"
#include "llfloaterimcontainer.h"
#include "llfloaterland.h"
#include "llfloaterpathfindingcharacters.h"
#include "llfloaterpathfindinglinksets.h"
@ -8238,6 +8239,7 @@ void initialize_menus()
commit.add("Inventory.NewWindow", boost::bind(&LLFloaterInventory::showAgentInventory));
enable.add("Conversation.IsConversationLoggingAllowed", boost::bind(&LLFloaterIMContainer::isConversationLoggingAllowed));
// Agent
commit.add("Agent.toggleFlying", boost::bind(&LLAgent::toggleFlying));

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater
positioning="specified"
left="643"
bottom="-80"
right="-460"
bottom="-50"
follows="left|bottom"
legacy_header_height="18"
can_minimize="true"

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater
positioning="cascading"
ignore_ui_scale="false"
legacy_header_height="225"
can_minimize="true"
@ -11,8 +12,6 @@
height="230"
layout="topleft"
name="Destinations"
right="-10"
bottom="-80"
single_instance="true"
help_topic="destinations"
save_rect="true"

View File

@ -13,7 +13,8 @@
single_instance="true"
reuse_instance="true"
title="CONVERSATIONS"
bottom="-80"
bottom="-50"
right="-5"
width="450">
<string
name="collapse_icon"

View File

@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<floater
positioning="specified"
left="505"
bottom="-80"
right="-693"
bottom="-50"
legacy_header_height="18"
can_dock="false"
can_minimize="true"

View File

@ -261,6 +261,8 @@
<menu_item_check.on_check
function="Floater.Visible"
parameter="conversation" />
<menu_item_check.on_enable
function="Conversation.IsConversationLoggingAllowed" />
<menu_item_check.on_click
function="Floater.Toggle"
parameter="conversation" />