[ekiga] Accounts: Fixed account enabling.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Accounts: Fixed account enabling.
- Date: Sun, 11 Mar 2012 15:06:13 +0000 (UTC)
commit 0d0c85dcb59d8c64e93eaaae724216740930e79f
Author: Damien Sandras <dsandras beip be>
Date: Sun Mar 11 16:05:10 2012 +0100
Accounts: Fixed account enabling.
Ekiga was displaying "Unregistered" as initial state.
This was misleading.
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 5643526..5ea9add 100644
--- a/lib/engine/components/opal/opal-account.cpp
+++ b/lib/engine/components/opal/opal-account.cpp
@@ -157,7 +157,7 @@ Opal::Account::Account (Ekiga::ServiceCore & _core,
endpoint = core.get<Sip::EndPoint> ("opal-sip-endpoint");
dead = false;
state = Unregistered;
- status = _("Unregistered");
+ status = "";
message_waiting_number = 0;
enabled = _enabled;
aid = (const char *) PGloballyUniqueID ().AsString ();
@@ -301,6 +301,7 @@ void Opal::Account::enable ()
{
enabled = true;
+ status = _("Processing...");
endpoint->subscribe (*this);
if (presentity) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]