[ekiga/gnome-2-26] Fixed bug #594434.
- From: Damien Sandras <dsandras src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [ekiga/gnome-2-26] Fixed bug #594434.
- Date: Sun, 13 Sep 2009 16:07:58 +0000 (UTC)
commit 0cf1ce7044535d2b47d368e71b4a0e77833ddc49
Author: Damien Sandras <dsandras seconix com>
Date: Sun Sep 13 18:06:28 2009 +0200
Fixed bug #594434.
Accounts were automatically active after editing them.
lib/engine/components/opal/opal-account.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-account.cpp b/lib/engine/components/opal/opal-account.cpp
index 9483868..17854d2 100644
--- a/lib/engine/components/opal/opal-account.cpp
+++ b/lib/engine/components/opal/opal-account.cpp
@@ -433,7 +433,8 @@ void Opal::Account::on_edit_form_submitted (bool submitted,
password = new_password;
timeout = new_timeout;
enabled = new_enabled;
- enable ();
+ if (enabled)
+ enable ();
updated.emit ();
trigger_saving.emit ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]