[ekiga] Fix incorrent calling_state values.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Fix incorrent calling_state values.
- Date: Sat, 11 Feb 2012 16:18:37 +0000 (UTC)
commit f61dfc6f4a8b58c8ec82052d6f23d2d142ca0fdb
Author: Damien Sandras <dsandras beip be>
Date: Sat Feb 11 14:33:56 2012 +0100
Fix incorrent calling_state values.
src/gui/main_window.cpp | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/main_window.cpp b/src/gui/main_window.cpp
index d09bb5c..505e63a 100644
--- a/src/gui/main_window.cpp
+++ b/src/gui/main_window.cpp
@@ -711,6 +711,9 @@ static void on_established_call_cb (boost::shared_ptr<Ekiga::CallManager> /*man
GtkWidget *call_window = NULL;
gchar* info = NULL;
+ /* Update calling state */
+ mw->priv->calling_state = Connected;
+
/* %s is the SIP/H.323 address of the remote user, this text is shown
below video during a call */
info = g_strdup_printf (_("Connected with %s"),
@@ -738,6 +741,9 @@ static void on_cleared_call_cb (boost::shared_ptr<Ekiga::CallManager> /*manager
EkigaMainWindow *mw = EKIGA_MAIN_WINDOW (self);
GtkWidget *call_window = NULL;
+ /* Update calling state */
+ mw->priv->calling_state = Standby;
+
/* Info message */
ekiga_main_window_flash_message (mw, "%s", reason.c_str ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]