[ekiga] A disabled Opal::Account shouldn't act
- From: Julien Puydt <jpuydt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] A disabled Opal::Account shouldn't act
- Date: Fri, 1 Feb 2013 15:15:49 +0000 (UTC)
commit 8eb07fe2e68fffc793d3b9b279a65e676b58f6fe
Author: Julien Puydt <jpuydt free fr>
Date: Fri Feb 1 14:42:43 2013 +0100
A disabled Opal::Account shouldn't act
lib/engine/components/opal/opal-account.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-account.cpp b/lib/engine/components/opal/opal-account.cpp
index bc50086..b0f3749 100644
--- a/lib/engine/components/opal/opal-account.cpp
+++ b/lib/engine/components/opal/opal-account.cpp
@@ -476,6 +476,9 @@ Opal::Account::populate_menu (const std::string fullname,
std::string protocol;
std::string complete_uri;
+ if (!is_enabled ())
+ return false;
+
// if there is no protocol, add what we are
if (uri.find (":") == string::npos) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]