ekiga r6369 - in trunk: . src/gui



Author: dsandras
Date: Thu Jun  5 20:10:34 2008
New Revision: 6369
URL: http://svn.gnome.org/viewvc/ekiga?rev=6369&view=rev

Log:
Reimplemented blind transfer.


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	Thu Jun  5 20:10:34 2008
@@ -3524,7 +3524,7 @@
   gtk_dialog_set_default_response (GTK_DIALOG (mw->transfer_call_popup),
 				   GTK_RESPONSE_ACCEPT);
   
-  if (!strcmp (u, ""))
+  if (u && !strcmp (u, ""))
     gm_entry_dialog_set_text (GM_ENTRY_DIALOG (mw->transfer_call_popup), u);
   else
     gm_entry_dialog_set_text (GM_ENTRY_DIALOG (mw->transfer_call_popup), "sip:");
@@ -3536,10 +3536,9 @@
 
   case GTK_RESPONSE_ACCEPT:
 
-    forward_url =
-      gm_entry_dialog_get_text (GM_ENTRY_DIALOG (mw->transfer_call_popup));
-    // FIXME NOT IMPLEMENTED SHould not be called directly
-      
+    forward_url = gm_entry_dialog_get_text (GM_ENTRY_DIALOG (mw->transfer_call_popup));
+    if (strcmp (forward_url, "") && mw->current_call)
+      mw->current_call->transfer (forward_url);
     break;
 
   default:



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