From e0b252fc99968eb54031a8a2bb8216baae5078b2 Mon Sep 17 00:00:00 2001 From: maxim_productengine Date: Mon, 24 Sep 2012 14:52:20 +0300 Subject: CHUI-123 FIXED Tooltips for buttons are added --- indra/newview/llimconversation.cpp | 1 + indra/newview/skins/default/xui/en/floater_im_container.xml | 4 +++- indra/newview/skins/default/xui/en/floater_im_session.xml | 11 +++++++++++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/indra/newview/llimconversation.cpp b/indra/newview/llimconversation.cpp index 64f171ce8f..3ca93b1b07 100644 --- a/indra/newview/llimconversation.cpp +++ b/indra/newview/llimconversation.cpp @@ -424,6 +424,7 @@ void LLIMConversation::updateHeaderAndToolbar() mExpandCollapseBtn->setEnabled(!is_torn_off || !mIsP2PChat); mTearOffBtn->setImageOverlay(getString(is_torn_off? "return_icon" : "tear_off_icon")); + mTearOffBtn->setToolTip(getString(!is_torn_off? "tooltip_to_separate_window" : "tooltip_to_main_window")); mCloseBtn->setVisible(!is_torn_off && !mIsNearbyChat); diff --git a/indra/newview/skins/default/xui/en/floater_im_container.xml b/indra/newview/skins/default/xui/en/floater_im_container.xml index 413e66738d..d23ff28fd0 100644 --- a/indra/newview/skins/default/xui/en/floater_im_container.xml +++ b/indra/newview/skins/default/xui/en/floater_im_container.xml @@ -62,6 +62,7 @@ layout="topleft" left="10" name="sort_btn" + tool_tip="View/sort options" top="5" width="31" />