[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenetwork/kopete/protocols/gadu
From:       Grzegorz Jaskiewicz <gj () pointblue ! com ! pl>
Date:       2004-02-05 21:31:50
Message-ID: 20040205213150.7EF2B991D () office ! kde ! org
[Download RAW message or body]

CVS commit by gj: 

remove obsolete/nonexistent functions to set status description, in favor of contact properties


  M +2 -1      gaduaccount.cpp   1.90
  M +1 -1      gaduaway.cpp   1.8


--- kdenetwork/kopete/protocols/gadu/gaduaccount.cpp  #1.89:1.90
@@ -562,5 +562,6 @@ GaduAccount::connectionSucceed( )
         kdDebug(14100) << "#### Gadu-Gadu connected! " << endl;
         status_ =  GaduProtocol::protocol()->convertStatus( session_->status() );
-        myself()->setOnlineStatus( status_, lastDescription );
+        myself()->setOnlineStatus( status_ );
+        myself()->setProperty( "awayMessage", i18n("awayMessage"), lastDescription );
         startNotify();
 

--- kdenetwork/kopete/protocols/gadu/gaduaway.cpp  #1.7:1.8
@@ -48,5 +48,5 @@ GaduAway::GaduAway( GaduAccount* account
         ui_->statusGroup_->setButton( GaduProtocol::protocol()->statusToWithDescription( ks ) );
 
-        ui_->textEdit_->setText( account->myself()->statusDescription() );
+        ui_->textEdit_->setText( account->myself()->property( "awayMessage" ).value().toString() );
         connect( this, SIGNAL( applyClicked() ), SLOT( slotApply() ) );
 }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic