Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
5447a13e
Commit
5447a13e
authored
17 years ago
by
areversat
Browse files
Options
Downloads
Patches
Plain Diff
Code cleanup
parent
ff303a3c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sflphone-gtk/src/actions.c
+20
-17
20 additions, 17 deletions
sflphone-gtk/src/actions.c
sflphone-gtk/src/calltree.c
+10
-8
10 additions, 8 deletions
sflphone-gtk/src/calltree.c
with
30 additions
and
25 deletions
sflphone-gtk/src/actions.c
+
20
−
17
View file @
5447a13e
...
...
@@ -35,7 +35,7 @@
guint
voice_mails
;
void
void
sflphone_notify_voice_mail
(
const
gchar
*
accountID
,
guint
count
)
{
voice_mails
=
count
;
...
...
@@ -75,7 +75,7 @@ status_bar_display_account( call_t* c)
}
gboolean
gboolean
sflphone_quit
()
{
gboolean
quit
=
FALSE
;
...
...
@@ -98,7 +98,7 @@ sflphone_quit ()
return
quit
;
}
void
void
sflphone_hold
(
call_t
*
c
)
{
c
->
state
=
CALL_STATE_HOLD
;
...
...
@@ -247,7 +247,7 @@ sflphone_hang_up()
}
void
void
sflphone_pick_up
()
{
call_t
*
selectedCall
=
call_get_selected
(
active_calltree
);
...
...
@@ -280,7 +280,7 @@ sflphone_pick_up()
}
}
void
void
sflphone_on_hold
()
{
call_t
*
selectedCall
=
call_get_selected
(
current_calls
);
...
...
@@ -298,7 +298,7 @@ sflphone_on_hold ()
}
}
void
void
sflphone_off_hold
()
{
call_t
*
selectedCall
=
call_get_selected
(
current_calls
);
...
...
@@ -317,7 +317,7 @@ sflphone_off_hold ()
}
void
void
sflphone_fail
(
call_t
*
c
)
{
c
->
state
=
CALL_STATE_FAILURE
;
...
...
@@ -325,7 +325,7 @@ sflphone_fail( call_t * c )
update_menus
();
}
void
void
sflphone_busy
(
call_t
*
c
)
{
c
->
state
=
CALL_STATE_BUSY
;
...
...
@@ -333,7 +333,7 @@ sflphone_busy( call_t * c )
update_menus
();
}
void
void
sflphone_current
(
call_t
*
c
)
{
c
->
state
=
CALL_STATE_CURRENT
;
...
...
@@ -341,7 +341,7 @@ sflphone_current( call_t * c )
update_menus
();
}
void
void
sflphone_set_transfert
()
{
call_t
*
c
=
call_get_selected
(
current_calls
);
...
...
@@ -355,7 +355,7 @@ sflphone_set_transfert()
toolbar_update_buttons
();
}
void
void
sflphone_unset_transfert
()
{
call_t
*
c
=
call_get_selected
(
current_calls
);
...
...
@@ -369,7 +369,7 @@ sflphone_unset_transfert()
toolbar_update_buttons
();
}
void
void
sflphone_incoming_call
(
call_t
*
c
)
{
call_list_add
(
current_calls
,
c
);
...
...
@@ -378,7 +378,8 @@ sflphone_incoming_call (call_t * c)
update_menus
();
}
void
process_dialing
(
call_t
*
c
,
guint
keyval
,
gchar
*
key
)
void
process_dialing
(
call_t
*
c
,
guint
keyval
,
gchar
*
key
)
{
// We stop the tone
if
(
strlen
(
c
->
to
)
==
0
&&
c
->
state
!=
CALL_STATE_TRANSFERT
){
...
...
@@ -445,7 +446,8 @@ void process_dialing(call_t * c, guint keyval, gchar * key)
}
call_t
*
sflphone_new_call
()
call_t
*
sflphone_new_call
()
{
// Play a tone when creating a new call
if
(
call_list_get_size
(
current_calls
)
==
0
)
...
...
@@ -470,7 +472,8 @@ call_t * sflphone_new_call()
void
sflphone_keypad
(
guint
keyval
,
gchar
*
key
){
sflphone_keypad
(
guint
keyval
,
gchar
*
key
)
{
call_t
*
c
=
call_get_selected
(
current_calls
);
if
(
c
)
...
...
@@ -576,7 +579,7 @@ sflphone_keypad( guint keyval, gchar * key){
}
}
}
/*
* Place a call with the default account.
...
...
@@ -643,7 +646,7 @@ sflphone_place_call ( call_t * c )
}
/* Internal to action - set the __CURRENT_ACCOUNT variable */
void
void
sflphone_set_current_account
()
{
if
(
account_list_get_size
()
>
0
)
...
...
This diff is collapsed.
Click to expand it.
sflphone-gtk/src/calltree.c
+
10
−
8
View file @
5447a13e
...
...
@@ -64,7 +64,7 @@ button_pressed(GtkWidget* widget, GdkEventButton *event, gpointer user_data)
/**
* Make a call
*/
static
void
static
void
call_button
(
GtkWidget
*
widget
,
gpointer
data
)
{
call_t
*
selectedCall
;
...
...
@@ -90,7 +90,7 @@ call_button( GtkWidget *widget, gpointer data )
/**
* Hang up the line
*/
static
void
static
void
hang_up
(
GtkWidget
*
widget
,
gpointer
data
)
{
sflphone_hang_up
();
...
...
@@ -99,7 +99,7 @@ hang_up( GtkWidget *widget, gpointer data )
/**
* Hold the line
*/
static
void
static
void
hold
(
GtkWidget
*
widget
,
gpointer
data
)
{
sflphone_on_hold
();
...
...
@@ -108,7 +108,7 @@ hold( GtkWidget *widget, gpointer data )
/**
* Transfert the line
*/
static
void
static
void
transfert
(
GtkToggleToolButton
*
toggle_tool_button
,
gpointer
user_data
)
{
...
...
@@ -126,7 +126,7 @@ transfert (GtkToggleToolButton *toggle_tool_button,
/**
* Unhold call
*/
static
void
static
void
unhold
(
GtkWidget
*
widget
,
gpointer
data
)
{
sflphone_off_hold
();
...
...
@@ -152,7 +152,7 @@ toggle_history(GtkToggleToolButton *toggle_tool_button,
g_signal_emit_by_name
(
sel
,
"changed"
);
toolbar_update_buttons
();
}
void
void
toolbar_update_buttons
()
{
...
...
@@ -299,7 +299,8 @@ void row_activated(GtkTreeView *tree_view,
GtkWidget
*
create_toolbar
(){
create_toolbar
()
{
GtkWidget
*
ret
;
GtkWidget
*
image
;
...
...
@@ -372,7 +373,8 @@ create_toolbar (){
}
void
create_call_tree
(
calltab_t
*
tab
){
create_call_tree
(
calltab_t
*
tab
)
{
GtkWidget
*
sw
;
GtkCellRenderer
*
rend
;
GtkTreeViewColumn
*
col
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment