[ekiga] Call Window: Update title with remote party name.



commit a28b5e2e2cedd0562a3d87faa419b741c4be039e
Author: Damien Sandras <dsandras beip be>
Date:   Sun Jan 29 18:37:35 2012 +0100

    Call Window: Update title with remote party name.
    
    When we are "connected" with remote party, display his/her name as
    window title.

 src/gui/call_window.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gui/call_window.cpp b/src/gui/call_window.cpp
index 318b6cb..f5b5bd4 100644
--- a/src/gui/call_window.cpp
+++ b/src/gui/call_window.cpp
@@ -1093,6 +1093,8 @@ on_established_call_cb (boost::shared_ptr<Ekiga::CallManager>  /*manager*/,
   EkigaCallWindow *cw = EKIGA_CALL_WINDOW (self);
   gchar* info = NULL;
 
+  gtk_window_set_title (GTK_WINDOW (cw), call->get_remote_party_name ().c_str ());
+
   /* %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"),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]