Commit af114d1b authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Replace \t with \n in calltree

parent 56dce982
......@@ -164,7 +164,7 @@ call_mailbox( GtkWidget* widget , gpointer data )
call_t* mailboxCall = g_new0( call_t , 1);
mailboxCall->state = CALL_STATE_DIALING;
mailboxCall->to = g_strdup(g_hash_table_lookup(current->properties, ACCOUNT_MAILBOX));
mailboxCall->from = g_strconcat("\"Voicemail Box\" <>", NULL);
//mailboxCall->from = g_strconcat("\"Voicemail Box\" <>", NULL);
mailboxCall->from = g_markup_printf_escaped("\"Voicemail\" <%s>", mailboxCall->to);
mailboxCall->callID = g_new0(gchar, 30);
g_sprintf(mailboxCall->callID, "%d", rand());
......
......@@ -48,16 +48,16 @@ process_call_duration( call_t* c )
if( duration / 60 == 0 )
{
if( duration < 10 )
res = g_markup_printf_escaped("\t00:0%i", duration);
res = g_markup_printf_escaped("\n00:0%i", duration);
else
res = g_markup_printf_escaped("\t00:%i", duration);
res = g_markup_printf_escaped("\n00:%i", duration);
}
else
{
if( duration%60 < 10 )
res = g_markup_printf_escaped("\t%i:0%i" , duration/60 , duration%60);
res = g_markup_printf_escaped("\n%i:0%i" , duration/60 , duration%60);
else
res = g_markup_printf_escaped("\t%i:%i" , duration/60 , duration%60);
res = g_markup_printf_escaped("\n%i:%i" , duration/60 , duration%60);
}
return res;
}
......
Supports Markdown
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