Commit 936bc398 authored by alexandresavard's avatar alexandresavard

Fix call_icon GTK client

parent a3f51710
......@@ -387,6 +387,16 @@ sflphone_current( call_t * c )
update_menus();
}
void
sflphone_record( call_t * c )
{
if( c->state != CALL_STATE_HOLD )
(void) time(&c->_start);
c->state = CALL_STATE_RECORD;
update_call_tree(current_calls,c);
update_menus();
}
void
sflphone_set_transfert()
{
......
......@@ -115,10 +115,14 @@ call_state_cb (DBusGProxy *proxy UNUSED,
sflphone_hung_up (c);
update_call_tree( history, c );
}
else if ( strcmp(state, "UNHOLD") == 0 )
else if ( strcmp(state, "UNHOLD_CURRENT") == 0 )
{
sflphone_current (c);
}
else if ( strcmp(state, "UNHOLD_RECORD") == 0 )
{
sflphone_record (c);
}
else if ( strcmp(state, "HOLD") == 0 )
{
sflphone_hold (c);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment