[ekiga] Opal Account: Fixed account removal.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Opal Account: Fixed account removal.
- Date: Sun, 23 Sep 2012 13:38:21 +0000 (UTC)
commit 4604b1c79b088be56bfc24ae9e7fdc54961409f4
Author: Damien Sandras <dsandras beip be>
Date: Sun Sep 23 15:35:45 2012 +0200
Opal Account: Fixed account removal.
lib/engine/components/opal/opal-account.cpp | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-account.cpp b/lib/engine/components/opal/opal-account.cpp
index 993ef75..ae902ae 100644
--- a/lib/engine/components/opal/opal-account.cpp
+++ b/lib/engine/components/opal/opal-account.cpp
@@ -355,10 +355,15 @@ SIPRegister::CompatibilityModes Opal::Account::get_compat_mode () const
void Opal::Account::remove ()
{
- disable();
dead = true;
+ if (state == Registered) {
+ std::cout << "ici " << std::endl << std::flush;
+ disable();
+ return;
+ }
trigger_saving ();
+ removed ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]