CVS commit by ogoffart: Show the number of poeple in the chat in the statusbar M +5 -6 chatview.cpp 1.235 --- kdenonbeta/kopete/libkopete/ui/chatview.cpp #1.234:1.235 @@ -179,6 +178,4 @@ ChatView::ChatView( KopeteMessageManager setCaption( m_manager->displayName(), false ); - setStatus ( i18n( "Ready." ) ); - //Restore docking positions readOptions(); @@ -354,4 +351,7 @@ void ChatView::setTabState( KopeteTabSta m_tabState = newState; + if( newState!= Typing ) + setStatus ( i18n( "%1 person in the chat" ).arg( memberContactMap.count() ) ); + } } @@ -492,8 +492,5 @@ void ChatView::remoteTyping( const Kopet } else - { - setStatus ( i18n( "Ready." ) ); setTabState(); - } } @@ -594,4 +591,5 @@ void ChatView::slotContactAdded(const Ko memberContactMap.insert(c, new KopeteContactLVI( this, c, membersList ) ); } + setTabState(); } @@ -621,4 +619,5 @@ void ChatView::slotContactRemoved(const memberContactMap.remove(c); } + setTabState(); }