ekiga r6894 - in trunk: . src/gui



Author: dsandras
Date: Tue Sep  9 16:49:06 2008
New Revision: 6894
URL: http://svn.gnome.org/viewvc/ekiga?rev=6894&view=rev

Log:
Fixed #453239.


Modified:
   trunk/ChangeLog
   trunk/src/gui/main.cpp

Modified: trunk/src/gui/main.cpp
==============================================================================
--- trunk/src/gui/main.cpp	(original)
+++ trunk/src/gui/main.cpp	Tue Sep  9 16:49:06 2008
@@ -3710,6 +3710,7 @@
   const char *utf8_name = call.get_remote_party_name ().c_str ();
   const char *utf8_app = call.get_remote_application ().c_str ();
   const char *utf8_url = call.get_remote_uri ().c_str ();
+  const char *utf8_local = call.get_local_party_name ().c_str ();
 
   g_return_if_fail (main_window);
   
@@ -3767,6 +3768,19 @@
     g_free (msg);
   }
 
+  if (utf8_local) {
+    
+    label = gtk_label_new (NULL);
+    msg =
+      g_strdup_printf ("<b>%s</b> %s",
+		       _("Account ID:"), utf8_local);
+    gtk_label_set_markup (GTK_LABEL (label), msg);
+    gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
+    gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 2);
+    gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.0);
+    g_free (msg);
+  }
+
   msg = g_strdup_printf (_("Call from %s"), (const char*) utf8_name);
   gtk_window_set_title (GTK_WINDOW (incoming_call_popup), msg);
   g_free (msg);



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