[ekiga/jp-opal-roster: 32/33] Opal::Bank: transmit the required signals upward so the gui is updated correctly



commit 6e41b3f59397796dae7b4054ea770e69336af4ab
Author: Julien Puydt <jpuydt free fr>
Date:   Sun Oct 27 21:24:43 2013 +0100

    Opal::Bank: transmit the required signals upward so the gui is updated correctly

 lib/engine/components/opal/opal-bank.cpp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-bank.cpp b/lib/engine/components/opal/opal-bank.cpp
index c2e14b9..30561a2 100644
--- a/lib/engine/components/opal/opal-bank.cpp
+++ b/lib/engine/components/opal/opal-bank.cpp
@@ -85,6 +85,9 @@ Opal::Bank::Bank (Ekiga::ServiceCore& core):
                                                      boost::bind(&Opal::Bank::existing_groups, this), 
child));
 
       add_account (account);
+      Ekiga::BankImpl<Account>::add_connection (account, account->presentity_added.connect (boost::bind 
(boost::ref(presentity_added), account, _1)));
+      Ekiga::BankImpl<Account>::add_connection (account, account->presentity_updated.connect (boost::bind 
(boost::ref(presentity_updated), account, _1)));
+      Ekiga::BankImpl<Account>::add_connection (account, account->presentity_removed.connect (boost::bind 
(boost::ref(presentity_removed), account, _1)));
       Ekiga::BankImpl<Account>::add_connection (account, account->trigger_saving.connect (boost::bind 
(&Opal::Bank::save, this)));
       Ekiga::BankImpl<Account>::add_connection (account, account->presence_received.connect (boost::ref 
(presence_received)));
       Ekiga::BankImpl<Account>::add_connection (account, account->status_received.connect (boost::ref 
(status_received)));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]