[ekiga] Propose autocompletion in URL box of dialpad only for registered accounts
- From: Eugen Dedu <ededu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Propose autocompletion in URL box of dialpad only for registered accounts
- Date: Sun, 8 Feb 2015 21:52:33 +0000 (UTC)
commit 820b03e6c2f43f5b25cd12811f1132da877a776c
Author: Eugen Dedu <eugen dedu univ-fcomte fr>
Date: Sun Feb 8 22:51:16 2015 +0100
Propose autocompletion in URL box of dialpad only for registered accounts
Before, it proposed autocompletion for unregistered accounts too.
lib/engine/gui/gtk-frontend/main_window.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/main_window.cpp b/lib/engine/gui/gtk-frontend/main_window.cpp
index eea1304..b9e7991 100644
--- a/lib/engine/gui/gtk-frontend/main_window.cpp
+++ b/lib/engine/gui/gtk-frontend/main_window.cpp
@@ -237,7 +237,8 @@ account_completion_helper_cb (Ekiga::AccountPtr acc,
EkigaMainWindow* mw)
{
Opal::AccountPtr account = boost::dynamic_pointer_cast<Opal::Account>(acc);
- if (account && account->is_enabled ()) {
+ // propose autocompletion for registered accounts
+ if (account && account->is_active ()) {
if (g_ascii_strncasecmp (text, "sip:", 4) == 0 && account->get_protocol_name () == "SIP") {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]