From 5840e4dff11696b4cd72bccf59a1fbb1b2ac9d22 Mon Sep 17 00:00:00 2001 From: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com> Date: Fri, 20 Mar 2009 15:34:18 -0400 Subject: [PATCH] Restore account selection to make call with --- sflphone-gtk/src/actions.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/sflphone-gtk/src/actions.c b/sflphone-gtk/src/actions.c index f3275f017b..579bdbfd9c 100644 --- a/sflphone-gtk/src/actions.c +++ b/sflphone-gtk/src/actions.c @@ -373,7 +373,6 @@ sflphone_off_hold () g_print("Currently recording! \n"); else g_print("Not recording currently \n"); - } @@ -701,11 +700,13 @@ sflphone_place_call ( call_t * c ) { account_t * current; - if(c->accountID != 0) + if(g_strcasecmp(c->accountID, "") != 0) { + g_print ("account_list_get_by_id : %s\n", c->accountID); current = account_list_get_by_id(c->accountID); - else + } else { + g_print ("account_list_get_current\n"); current = account_list_get_current(); - + } // printf("sflphone_place_call :: c->accountID : %i \n",c->accountID); // account_t * current = c->accountID; -- GitLab