Let's see if there are side-effects when making the conversations floater minimizable
parent
364d69d27c
commit
213f3f00ec
|
|
@ -356,22 +356,6 @@ FSFloaterIMContainer* FSFloaterIMContainer::getInstance()
|
|||
return LLFloaterReg::getTypedInstance<FSFloaterIMContainer>("fs_im_container");
|
||||
}
|
||||
|
||||
void FSFloaterIMContainer::setMinimized(BOOL b)
|
||||
{
|
||||
if (isMinimized() == b) return;
|
||||
|
||||
LLMultiFloater::setMinimized(b);
|
||||
// Hide minimized floater (see EXT-5315)
|
||||
setVisible(!b);
|
||||
|
||||
if (isMinimized()) return;
|
||||
|
||||
if (getActiveFloater())
|
||||
{
|
||||
getActiveFloater()->setVisible(TRUE);
|
||||
}
|
||||
}
|
||||
|
||||
void FSFloaterIMContainer::setVisible(BOOL b)
|
||||
{
|
||||
LLMultiFloater::setVisible(b);
|
||||
|
|
|
|||
|
|
@ -64,7 +64,6 @@ public:
|
|||
static FSFloaterIMContainer* findInstance();
|
||||
static FSFloaterIMContainer* getInstance();
|
||||
|
||||
virtual void setMinimized(BOOL b);
|
||||
virtual void setVisible(BOOL b);
|
||||
|
||||
void onNewMessageReceived(const LLSD& data); // public so nearbychat can call it directly. TODO: handle via callback. -AO
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<multi_floater
|
||||
can_close="true"
|
||||
can_minimize="false"
|
||||
can_minimize="true"
|
||||
can_resize="true"
|
||||
height="390"
|
||||
layout="topleft"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||
<multi_floater
|
||||
can_close="true"
|
||||
can_minimize="false"
|
||||
can_minimize="true"
|
||||
can_resize="true"
|
||||
height="390"
|
||||
layout="topleft"
|
||||
|
|
|
|||
Loading…
Reference in New Issue