ekiga r6975 - in trunk: . src/gui



Author: dsandras
Date: Sun Sep 14 17:33:39 2008
New Revision: 6975
URL: http://svn.gnome.org/viewvc/ekiga?rev=6975&view=rev

Log:
Fixed #552242.


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	Sun Sep 14 17:33:39 2008
@@ -625,7 +625,8 @@
   }
   else {
     gm_main_window_update_calling_state (GTK_WIDGET (self), Calling);
-    gm_main_window_set_call_url (GTK_WIDGET (self), call.get_remote_uri ().c_str());
+    if (!call.get_remote_uri ().empty ())
+      gm_main_window_set_call_url (GTK_WIDGET (self), call.get_remote_uri ().c_str());
     mw->current_call = &call;
   }
 }
@@ -705,7 +706,8 @@
   info = g_strdup_printf (_("Connected with %s"),
 			  call.get_remote_party_name ().c_str ());
 
-  gm_main_window_set_call_url (GTK_WIDGET (self), call.get_remote_uri ().c_str());
+  if (!call.get_remote_uri ().empty ())
+    gm_main_window_set_call_url (GTK_WIDGET (self), call.get_remote_uri ().c_str());
   if (gm_conf_get_bool (VIDEO_DISPLAY_KEY "stay_on_top"))
     gm_main_window_set_stay_on_top (GTK_WIDGET (self), TRUE);
   gm_main_window_set_status (GTK_WIDGET (self), info);



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