From 702410cef75e0cc10258964b86b093f2205ef462 Mon Sep 17 00:00:00 2001 From: Vadim ProductEngine Date: Fri, 9 Dec 2011 17:59:29 +0200 Subject: EXP-1671 FIXED Enable/disable the translation checkbox in the nearby chat floater whenever translation preferences change. The checkbox is also updated when the nearby chat floater is opened. --- indra/newview/llnearbychatbar.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'indra/newview/llnearbychatbar.h') diff --git a/indra/newview/llnearbychatbar.h b/indra/newview/llnearbychatbar.h index e9734899b3..866e07f123 100644 --- a/indra/newview/llnearbychatbar.h +++ b/indra/newview/llnearbychatbar.h @@ -43,6 +43,7 @@ public: ~LLNearbyChatBar() {} virtual BOOL postBuild(); + /*virtual*/ void onOpen(const LLSD& key); static LLNearbyChatBar* getInstance(); @@ -60,6 +61,7 @@ public: static void sendChatFromViewer(const LLWString &wtext, EChatType type, BOOL animate); void showHistory(); + void enableTranslationCheckbox(BOOL enable); /*virtual*/void setMinimized(BOOL b); protected: -- cgit v1.2.3 From cbeaf3d7a0dd7bdb739b8e72addd41410940a8f5 Mon Sep 17 00:00:00 2001 From: Paul ProductEngine Date: Fri, 30 Dec 2011 18:32:04 +0200 Subject: EXP-1586 FIXED (Nearby chat window no longer persists between viewer startups) - Visibility state of chat floater is saved between sessions - Also visibility state of chat history in nearby chat floater is saved too --- indra/newview/llnearbychatbar.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'indra/newview/llnearbychatbar.h') diff --git a/indra/newview/llnearbychatbar.h b/indra/newview/llnearbychatbar.h index baf12a06ea..84040b8aab 100644 --- a/indra/newview/llnearbychatbar.h +++ b/indra/newview/llnearbychatbar.h @@ -92,6 +92,11 @@ protected: LLLocalSpeakerMgr* mSpeakerMgr; S32 mExpandedHeight; +private: + + // Saves visibility of chat history panel + // if save_visibility="true" + void saveChatHistoryVisibility(); }; #endif -- cgit v1.2.3 From 377a9ab9ac3b098492cbd010f3091c713ac6dc83 Mon Sep 17 00:00:00 2001 From: Paul ProductEngine Date: Wed, 4 Jan 2012 14:50:15 +0200 Subject: EXP-1586 ADDITIONAL FIX (Nearby chat window no longer persists between viewer startups) - Got rid of confusing conditions. --- indra/newview/llnearbychatbar.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'indra/newview/llnearbychatbar.h') diff --git a/indra/newview/llnearbychatbar.h b/indra/newview/llnearbychatbar.h index 84040b8aab..baf12a06ea 100644 --- a/indra/newview/llnearbychatbar.h +++ b/indra/newview/llnearbychatbar.h @@ -92,11 +92,6 @@ protected: LLLocalSpeakerMgr* mSpeakerMgr; S32 mExpandedHeight; -private: - - // Saves visibility of chat history panel - // if save_visibility="true" - void saveChatHistoryVisibility(); }; #endif -- cgit v1.2.3