Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
e9bb450d
Commit
e9bb450d
authored
Feb 20, 2009
by
Alexandre Savard
Browse files
No Utf-8 anymore, only ASCII
parent
7ee3d70f
Changes
2
Show whitespace changes
Inline
Side-by-side
sflphone-gtk/src/actions.c
View file @
e9bb450d
...
...
@@ -447,6 +447,10 @@ process_dialing(call_t * c, guint keyval, gchar * key)
dbus_start_tone
(
FALSE
,
0
);
//dbus_play_dtmf( key );
}
g_print
(
"process_dialing : keyval : %i
\n
"
,
keyval
);
g_print
(
"process_dialing : key : %s
\n
"
,
key
);
switch
(
keyval
)
{
case
65293
:
/* ENTER */
...
...
@@ -460,9 +464,10 @@ process_dialing(call_t * c, guint keyval, gchar * key)
{
/* Brackets mandatory because of local vars */
gchar
*
before
=
c
->
to
;
if
(
strlen
(
c
->
to
)
>=
1
){
c
->
to
=
g_strndup
(
c
->
to
,
strlen
(
c
->
to
)
-
1
);
g_free
(
before
);
g_print
(
"TO: %s
\n
"
,
c
->
to
);
g_print
(
"TO:
backspace
%s
\n
"
,
c
->
to
);
if
(
c
->
state
==
CALL_STATE_DIALING
)
{
...
...
@@ -485,14 +490,16 @@ process_dialing(call_t * c, guint keyval, gchar * key)
case
65509
:
/* CAPS */
break
;
default:
if
(
keyval
<
255
||
(
keyval
>
65453
&&
keyval
<
65466
))
// if (keyval < 255 || (keyval >65453 && keyval < 65466))
if
(
keyval
<
127
)
{
if
(
c
->
state
!=
CALL_STATE_TRANSFERT
)
dbus_play_dtmf
(
key
);
gchar
*
before
=
c
->
to
;
c
->
to
=
g_strconcat
(
c
->
to
,
key
,
NULL
);
g_free
(
before
);
g_print
(
"TO: %s
\n
"
,
c
->
to
);
g_print
(
"TO:
default
%s
\n
"
,
c
->
to
);
if
(
c
->
state
==
CALL_STATE_DIALING
)
{
...
...
sflphone-gtk/src/calltree.c
View file @
e9bb450d
...
...
@@ -691,6 +691,7 @@ update_call_tree (calltab_t* tab, call_t * c)
}
else
{
g_print
(
"Stuff to be printed %s %s
\n
"
,
call_get_number
(
c
),
call_get_name
(
c
));
description
=
g_markup_printf_escaped
(
"<b>%s</b> <i>%s</i>"
,
call_get_number
(
c
),
call_get_name
(
c
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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