Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
af114d1b
Commit
af114d1b
authored
May 09, 2008
by
Emmanuel Milou
Browse files
Replace \t with \n in calltree
parent
56dce982
Changes
2
Hide whitespace changes
Inline
Side-by-side
sflphone-gtk/src/calltree.c
View file @
af114d1b
...
...
@@ -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
());
...
...
sflphone-gtk/src/timestamp.c
View file @
af114d1b
...
...
@@ -48,16 +48,16 @@ process_call_duration( call_t* c )
if
(
duration
/
60
==
0
)
{
if
(
duration
<
10
)
res
=
g_markup_printf_escaped
(
"
\
t
00:0%i"
,
duration
);
res
=
g_markup_printf_escaped
(
"
\
n
00:0%i"
,
duration
);
else
res
=
g_markup_printf_escaped
(
"
\
t
00:%i"
,
duration
);
res
=
g_markup_printf_escaped
(
"
\
n
00:%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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment