Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
J
jami-daemon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
141
Issues
141
List
Boards
Labels
Service Desk
Milestones
Iterations
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
savoirfairelinux
jami-daemon
Commits
ba5c45ef
Commit
ba5c45ef
authored
Jan 11, 2008
by
Emmanuel Milou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change version of license GPL 2 -> GPL 3
parent
18305aa6
Changes
91
Hide whitespace changes
Inline
Side-by-side
Showing
91 changed files
with
247 additions
and
127 deletions
+247
-127
sflphone-gtk/src/accountwindow.c
sflphone-gtk/src/accountwindow.c
+1
-1
sflphone-gtk/src/accountwindow.h
sflphone-gtk/src/accountwindow.h
+1
-1
sflphone-gtk/src/actions.c
sflphone-gtk/src/actions.c
+2
-1
sflphone-gtk/src/calllist.c
sflphone-gtk/src/calllist.c
+1
-1
sflphone-gtk/src/calllist.h
sflphone-gtk/src/calllist.h
+1
-1
sflphone-gtk/src/configwindow.c
sflphone-gtk/src/configwindow.c
+106
-14
sflphone-gtk/src/configwindow.h
sflphone-gtk/src/configwindow.h
+1
-1
sflphone-gtk/src/dialpad.c
sflphone-gtk/src/dialpad.c
+1
-1
sflphone-gtk/src/dialpad.h
sflphone-gtk/src/dialpad.h
+1
-1
sflphone-gtk/src/main.c
sflphone-gtk/src/main.c
+1
-1
sflphone-gtk/src/menus.c
sflphone-gtk/src/menus.c
+1
-1
sflphone-gtk/src/menus.h
sflphone-gtk/src/menus.h
+1
-1
sflphone-gtk/src/screen.c
sflphone-gtk/src/screen.c
+5
-5
sflphone-gtk/src/screen.h
sflphone-gtk/src/screen.h
+1
-1
sflphone-gtk/src/sliders.c
sflphone-gtk/src/sliders.c
+1
-1
sflphone-gtk/src/sliders.h
sflphone-gtk/src/sliders.h
+1
-1
sflphone-gtk/src/statusicon.c
sflphone-gtk/src/statusicon.c
+1
-1
sflphone-gtk/src/statusicon.h
sflphone-gtk/src/statusicon.h
+1
-1
src/account.cpp
src/account.cpp
+1
-1
src/account.h
src/account.h
+1
-1
src/accountcreator.cpp
src/accountcreator.cpp
+1
-1
src/accountcreator.h
src/accountcreator.h
+1
-1
src/audio/CodecSpeex.cpp
src/audio/CodecSpeex.cpp
+1
-1
src/audio/CodecSpeex.h
src/audio/CodecSpeex.h
+1
-1
src/audio/alaw.cpp
src/audio/alaw.cpp
+1
-1
src/audio/alaw.h
src/audio/alaw.h
+1
-1
src/audio/audiocodec.cpp
src/audio/audiocodec.cpp
+1
-1
src/audio/audiocodec.h
src/audio/audiocodec.h
+1
-1
src/audio/audiodevice.cpp
src/audio/audiodevice.cpp
+1
-1
src/audio/audiodevice.h
src/audio/audiodevice.h
+1
-1
src/audio/audiofile.cpp
src/audio/audiofile.cpp
+1
-1
src/audio/audiofile.h
src/audio/audiofile.h
+1
-1
src/audio/audioloop.cpp
src/audio/audioloop.cpp
+1
-1
src/audio/audioloop.h
src/audio/audioloop.h
+1
-1
src/audio/codecDescriptor.h
src/audio/codecDescriptor.h
+1
-1
src/audio/common.h
src/audio/common.h
+1
-1
src/audio/dtmf.cpp
src/audio/dtmf.cpp
+1
-1
src/audio/dtmf.h
src/audio/dtmf.h
+1
-1
src/audio/dtmfgenerator.cpp
src/audio/dtmfgenerator.cpp
+1
-1
src/audio/dtmfgenerator.h
src/audio/dtmfgenerator.h
+1
-1
src/audio/g711.cpp
src/audio/g711.cpp
+1
-1
src/audio/g711.h
src/audio/g711.h
+1
-1
src/audio/gsmcodec.cpp
src/audio/gsmcodec.cpp
+1
-1
src/audio/gsmcodec.h
src/audio/gsmcodec.h
+1
-1
src/audio/ringbuffer.cpp
src/audio/ringbuffer.cpp
+1
-1
src/audio/ringbuffer.h
src/audio/ringbuffer.h
+1
-1
src/audio/tone.cpp
src/audio/tone.cpp
+1
-1
src/audio/tone.h
src/audio/tone.h
+1
-1
src/audio/tonegenerator.cpp
src/audio/tonegenerator.cpp
+1
-1
src/audio/tonegenerator.h
src/audio/tonegenerator.h
+1
-1
src/audio/tonelist.cpp
src/audio/tonelist.cpp
+1
-1
src/audio/tonelist.h
src/audio/tonelist.h
+1
-1
src/audio/ulaw.cpp
src/audio/ulaw.cpp
+1
-1
src/audio/ulaw.h
src/audio/ulaw.h
+1
-1
src/call.cpp
src/call.cpp
+1
-1
src/call.h
src/call.h
+1
-1
src/config/config.cpp
src/config/config.cpp
+1
-1
src/config/config.h
src/config/config.h
+1
-1
src/dbus/callmanager.cpp
src/dbus/callmanager.cpp
+1
-1
src/dbus/callmanager.h
src/dbus/callmanager.h
+1
-1
src/dbus/dbusmanager.h
src/dbus/dbusmanager.h
+1
-1
src/dbus/dbusmanagerimpl.cpp
src/dbus/dbusmanagerimpl.cpp
+1
-1
src/dbus/dbusmanagerimpl.h
src/dbus/dbusmanagerimpl.h
+1
-1
src/dbus/instance.cpp
src/dbus/instance.cpp
+1
-1
src/dbus/instance.h
src/dbus/instance.h
+1
-1
src/eventthread.cpp
src/eventthread.cpp
+1
-1
src/eventthread.h
src/eventthread.h
+1
-1
src/global.h
src/global.h
+1
-1
src/iaxaccount.cpp
src/iaxaccount.cpp
+1
-1
src/iaxaccount.h
src/iaxaccount.h
+1
-1
src/iaxcall.cpp
src/iaxcall.cpp
+1
-1
src/iaxcall.h
src/iaxcall.h
+1
-1
src/iaxvoiplink.cpp
src/iaxvoiplink.cpp
+1
-1
src/iaxvoiplink.h
src/iaxvoiplink.h
+1
-1
src/manager.h
src/manager.h
+1
-1
src/managerimpl.cpp
src/managerimpl.cpp
+30
-17
src/managerimpl.h
src/managerimpl.h
+18
-4
src/observer.cpp
src/observer.cpp
+1
-1
src/observer.h
src/observer.h
+1
-1
src/sipaccount.cpp
src/sipaccount.cpp
+1
-1
src/sipaccount.h
src/sipaccount.h
+1
-1
src/sipcall.cpp
src/sipcall.cpp
+1
-1
src/sipcall.h
src/sipcall.h
+1
-1
src/sipvoiplink.cpp
src/sipvoiplink.cpp
+1
-1
src/sipvoiplink.h
src/sipvoiplink.h
+1
-1
src/zeroconf/DNSQueryThread.cpp
src/zeroconf/DNSQueryThread.cpp
+1
-1
src/zeroconf/DNSQueryThread.h
src/zeroconf/DNSQueryThread.h
+1
-1
src/zeroconf/DNSService.cpp
src/zeroconf/DNSService.cpp
+1
-1
src/zeroconf/DNSService.h
src/zeroconf/DNSService.h
+1
-1
src/zeroconf/DNSServiceTXTRecord.cpp
src/zeroconf/DNSServiceTXTRecord.cpp
+1
-1
src/zeroconf/DNSServiceTXTRecord.h
src/zeroconf/DNSServiceTXTRecord.h
+1
-1
No files found.
sflphone-gtk/src/accountwindow.c
View file @
ba5c45ef
...
...
@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
sflphone-gtk/src/accountwindow.h
View file @
ba5c45ef
...
...
@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
sflphone-gtk/src/actions.c
View file @
ba5c45ef
...
...
@@ -196,7 +196,7 @@ sflphone_hang_up()
sflphone_pick_up
()
{
call_t
*
selectedCall
=
call_get_selected
();
//screen_set_call(selectedCall
);
//printf("full name: %s\n",g_hash_table_lookup(selectedCall->properties, ACCOUNT_IAX_FULL_NAME)
);
main_window_callinfo
(
TRUE
,
selectedCall
);
if
(
selectedCall
)
{
...
...
@@ -204,6 +204,7 @@ sflphone_pick_up()
{
case
CALL_STATE_DIALING
:
sflphone_place_call
(
selectedCall
);
printf
(
"accountID=%s
\n
"
,
selectedCall
->
accountID
);
break
;
case
CALL_STATE_INCOMING
:
dbus_accept
(
selectedCall
);
...
...
sflphone-gtk/src/calllist.c
View file @
ba5c45ef
...
...
@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
sflphone-gtk/src/calllist.h
View file @
ba5c45ef
...
...
@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
sflphone-gtk/src/configwindow.c
View file @
ba5c45ef
...
...
@@ -29,12 +29,15 @@
/** Local variables */
gboolean
dialogOpen
=
FALSE
;
GtkListStore
*
account_store
;
GtkListStore
*
codec_store
;
GtkListStore
*
account_store
;
GtkListStore
*
codec_store
;
GtkListStore
*
rate_store
;
GtkWidget
*
addButton
;
GtkWidget
*
editButton
;
GtkWidget
*
deleteButton
;
GtkWidget
*
defaultButton
;
GtkWidget
*
restoreButton
;
GtkWidget
*
combo_box
;
account_t
*
selectedAccount
;
...
...
@@ -71,7 +74,7 @@ config_window_fill_account_list ()
}
}
void
config_window_fill_codec_list
()
{
if
(
dialogOpen
)
...
...
@@ -92,6 +95,25 @@ config_window_fill_codec_list()
gtk_list_store_set
(
codec_store
,
&
iter
,
0
,
c
->
name
,
-
1
);
}
}
}
gtk_combo_box_set_active
(
combo_box
,
0
);
}
void
config_window_fill_rate_list
()
{
if
(
dialogOpen
)
{
GtkTreeIter
iter
;
int
i
=
0
;
gchar
**
ratelist
=
(
gchar
**
)
dbus_get_sample_rate_list
();
while
(
ratelist
[
i
]
!=
NULL
)
{
printf
(
"%s
\n
"
,
ratelist
[
i
]);
gtk_list_store_append
(
rate_store
,
&
iter
);
gtk_list_store_set
(
rate_store
,
&
iter
,
0
,
ratelist
[
i
],
-
1
);
i
++
;
}
}
}
...
...
@@ -119,7 +141,6 @@ edit_account( GtkWidget *widget, gpointer data )
}
}
/**
* Add an account
*/
...
...
@@ -201,6 +222,34 @@ bold_if_default_account(GtkTreeViewColumn *col,
}
void
default_codecs
(
GtkWidget
*
widget
,
gpointer
data
)
{
int
i
=
0
;
int
j
=
0
;
gint
*
new_order
;
gchar
**
default_list
=
(
gchar
**
)
dbus_default_codec_list
();
while
(
default_list
[
i
]
!=
NULL
)
{
printf
(
"%s
\n
"
,
default_list
[
i
]);
i
++
;}
i
=
0
;
while
(
default_list
[
i
]
!=
NULL
)
{
if
(
g_strcasecmp
(
codec_list_get_nth
(
0
)
->
name
,
default_list
[
i
])
==
0
){
printf
(
"%s %s
\n
"
,
codec_list_get_nth
(
0
)
->
name
,
default_list
[
i
]);
new_order
[
i
]
=
0
;
}
else
if
(
g_strcasecmp
(
codec_list_get_nth
(
1
)
->
name
,
default_list
[
i
])
==
0
){
printf
(
"%s %s
\n
"
,
codec_list_get_nth
(
0
)
->
name
,
default_list
[
0
]);
new_order
[
i
]
=
1
;}
else
{
printf
(
"%s %s
\n
"
,
codec_list_get_nth
(
0
)
->
name
,
default_list
[
0
]);
new_order
[
i
]
=
2
;}
printf
(
"new_order[%i]=%i
\n
"
,
i
,
j
);
i
++
;
}
gtk_list_store_reorder
(
codec_store
,
new_order
);
}
GtkWidget
*
create_accounts_tab
()
...
...
@@ -321,10 +370,12 @@ create_accounts_tab()
GtkWidget
*
create_audio_tab
()
{
GtkWidget
*
ret
;
GtkWidget
*
label
;
GtkWidget
*
combo_box
;
GtkWidget
*
hbox1
;
GtkWidget
*
ret
;
GtkWidget
*
label
;
GtkWidget
*
codecBox
;
GtkWidget
*
rate_box
;
GtkWidget
*
image
;
GtkWidget
*
hbox1
;
GtkTreeIter
iter
;
GtkCellRenderer
*
renderer
;
...
...
@@ -336,12 +387,18 @@ create_audio_tab ()
gtk_label_set_line_wrap
(
GTK_LABEL
(
label
),
TRUE
);
gtk_misc_set_alignment
(
GTK_MISC
(
label
),
0
,
0
.
5
);
gtk_label_set_justify
(
GTK_LABEL
(
label
),
GTK_JUSTIFY_LEFT
);
gtk_box_pack_start
(
GTK_BOX
(
ret
),
label
,
FALSE
,
TRU
E
,
0
);
gtk_box_pack_start
(
GTK_BOX
(
ret
),
label
,
FALSE
,
FALS
E
,
0
);
gtk_widget_show
(
label
);
hbox1
=
gtk_label_new
(
"Available Codecs"
);
codecBox
=
gtk_hbutton_box_new
();
gtk_box_set_spacing
(
GTK_BOX
(
codecBox
),
10
);
//GAIM_HIG_BOX_SPACE
gtk_button_box_set_layout
(
GTK_BUTTON_BOX
(
codecBox
),
GTK_BUTTONBOX_SPREAD
);
gtk_box_pack_start
(
GTK_BOX
(
ret
),
codecBox
,
FALSE
,
FALSE
,
0
);
gtk_widget_show
(
codecBox
);
hbox1
=
gtk_label_new
(
"Codec:"
);
gtk_misc_set_alignment
(
GTK_MISC
(
hbox1
),
0
,
0
.
5
);
gtk_box_pack_start
(
GTK_BOX
(
ret
),
hbox1
,
FALSE
,
TRU
E
,
0
);
gtk_box_pack_start
(
GTK_BOX
(
codecBox
),
hbox1
,
FALSE
,
FALS
E
,
0
);
gtk_widget_show
(
hbox1
);
codec_store
=
gtk_list_store_new
(
1
,
G_TYPE_STRING
);
...
...
@@ -350,18 +407,53 @@ create_audio_tab ()
renderer
=
gtk_cell_renderer_text_new
();
gtk_cell_layout_pack_start
(
GTK_CELL_LAYOUT
(
combo_box
),
renderer
,
TRUE
);
gtk_cell_layout_set_attributes
(
GTK_CELL_LAYOUT
(
combo_box
),
renderer
,
"text"
,
0
,
NULL
);
gtk_box_pack_start
(
GTK_BOX
(
ret
),
combo_box
,
FALSE
,
TRU
E
,
0
);
gtk_box_pack_start
(
GTK_BOX
(
codecBox
),
combo_box
,
FALSE
,
FALS
E
,
0
);
g_signal_connect
(
G_OBJECT
(
combo_box
),
"changed"
,
G_CALLBACK
(
select_codec
),
NULL
);
gtk_widget_show
(
combo_box
);
restoreButton
=
gtk_button_new_from_stock
(
GTK_STOCK_REFRESH
);
gtk_box_pack_start
(
GTK_BOX
(
codecBox
),
restoreButton
,
FALSE
,
FALSE
,
10
);
//g_signal_connect(G_OBJECT(restoreButton), "clicked", G_CALLBACK(default_codecs), NULL);
gtk_widget_show
(
restoreButton
);
codecBox
=
gtk_hbutton_box_new
();
gtk_box_set_spacing
(
GTK_BOX
(
codecBox
),
10
);
//GAIM_HIG_BOX_SPACE
gtk_button_box_set_layout
(
GTK_BUTTON_BOX
(
codecBox
),
GTK_BUTTONBOX_SPREAD
);
gtk_box_pack_start
(
GTK_BOX
(
ret
),
codecBox
,
FALSE
,
FALSE
,
0
);
gtk_widget_show
(
codecBox
);
hbox1
=
gtk_label_new
(
"Sample Rate:"
);
gtk_misc_set_alignment
(
GTK_MISC
(
hbox1
),
0
,
0
.
5
);
gtk_box_pack_start
(
GTK_BOX
(
codecBox
),
hbox1
,
FALSE
,
FALSE
,
0
);
gtk_widget_show
(
hbox1
);
rate_store
=
gtk_list_store_new
(
1
,
G_TYPE_STRING
);
rate_box
=
gtk_combo_box_new_with_model
(
GTK_TREE_MODEL
(
rate_store
));
gtk_label_set_mnemonic_widget
(
GTK_LABEL
(
hbox1
),
rate_box
);
renderer
=
gtk_cell_renderer_text_new
();
gtk_cell_layout_pack_start
(
GTK_CELL_LAYOUT
(
rate_box
),
renderer
,
TRUE
);
gtk_cell_layout_set_attributes
(
GTK_CELL_LAYOUT
(
rate_box
),
renderer
,
"text"
,
0
,
NULL
);
gtk_box_pack_start
(
GTK_BOX
(
codecBox
),
rate_box
,
FALSE
,
FALSE
,
0
);
//g_signal_connect (G_OBJECT (combo_box), "changed",
// G_CALLBACK (select_codec),
// NULL);
gtk_widget_show
(
rate_box
);
restoreButton
=
gtk_button_new_from_stock
(
GTK_STOCK_REFRESH
);
gtk_box_pack_start
(
GTK_BOX
(
codecBox
),
restoreButton
,
FALSE
,
FALSE
,
0
);
//g_signal_connect(G_OBJECT(restoreButton), "clicked", G_CALLBACK(default_codecs), NULL);
gtk_widget_show
(
restoreButton
);
gtk_widget_show_all
(
ret
);
config_window_fill_codec_list
();
gtk_combo_box_set_active
(
combo_box
,
0
);
config_window_fill_rate_list
(
);
gtk_combo_box_set_active
(
rate_box
,
0
);
return
ret
;
...
...
sflphone-gtk/src/configwindow.h
View file @
ba5c45ef
...
...
@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
sflphone-gtk/src/dialpad.c
View file @
ba5c45ef
...
...
@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
sflphone-gtk/src/dialpad.h
View file @
ba5c45ef
...
...
@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
sflphone-gtk/src/main.c
View file @
ba5c45ef
...
...
@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
sflphone-gtk/src/menus.c
View file @
ba5c45ef
...
...
@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
sflphone-gtk/src/menus.h
View file @
ba5c45ef
...
...
@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
sflphone-gtk/src/screen.c
View file @
ba5c45ef
/*
* Copyright (C) 2007 Savoir-Faire Linux inc.
* Author: Pierre-Luc Beaudoin <pierre-luc@squidy.info>
* Author: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
@@ -37,7 +38,7 @@ create_screen()
subvbox
=
gtk_vbox_new
(
FALSE
/*homogeneous*/
,
10
/*spacing*/
);
sw
=
gtk_scrolled_window_new
(
NULL
,
NULL
);
gtk_scrolled_window_set_policy
(
GTK_SCROLLED_WINDOW
(
sw
),
GTK_POLICY_NEVER
,
GTK_POLICY_
NEVER
);
gtk_scrolled_window_set_policy
(
GTK_SCROLLED_WINDOW
(
sw
),
GTK_POLICY_NEVER
,
GTK_POLICY_
ALWAYS
);
gtk_scrolled_window_set_shadow_type
(
GTK_SCROLLED_WINDOW
(
sw
),
GTK_SHADOW_NONE
);
event
=
gtk_event_box_new
();
...
...
@@ -53,7 +54,7 @@ create_screen()
gtk_box_pack_start
(
GTK_BOX
(
subvbox
),
sw
,
FALSE
/*expand*/
,
TRUE
/*fill*/
,
0
/*padding*/
);
screen_clear
();
//
screen_clear();
return
subvbox
;
}
...
...
@@ -67,8 +68,7 @@ screen_clear()
void
screen_set_call
(
const
call_t
*
c
)
{
//printf("accountID = %s\ncall to = %s\n", c->accountID, c->to);
//gchar * markup = g_strconcat("<big><b>", call_get_name(c), "</b></big>\n", call_get_number(c), NULL);
printf
(
"accountID = %s
\n
call to = %s
\n
"
,
c
->
from
,
c
->
to
);
gchar
*
markup
=
g_strconcat
(
"<b><i>Calling to:</i></b>"
,
"
\t
"
,
call_get_number
(
c
),
"
\n
<b><i>Codec:</i></b>"
,
"
\t
"
,
codec_list_get_nth
(
0
)
->
name
,
NULL
);
gtk_label_set_markup
(
GTK_LABEL
(
label
),
markup
);
...
...
sflphone-gtk/src/screen.h
View file @
ba5c45ef
...
...
@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
sflphone-gtk/src/sliders.c
View file @
ba5c45ef
...
...
@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
sflphone-gtk/src/sliders.h
View file @
ba5c45ef
...
...
@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
sflphone-gtk/src/statusicon.c
View file @
ba5c45ef
...
...
@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
sflphone-gtk/src/statusicon.h
View file @
ba5c45ef
...
...
@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
src/account.cpp
View file @
ba5c45ef
...
...
@@ -5,7 +5,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
src/account.h
View file @
ba5c45ef
...
...
@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
src/accountcreator.cpp
View file @
ba5c45ef
...
...
@@ -5,7 +5,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
src/accountcreator.h
View file @
ba5c45ef
...
...
@@ -5,7 +5,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
src/audio/CodecSpeex.cpp
View file @
ba5c45ef
...
...
@@ -5,7 +5,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
src/audio/CodecSpeex.h
View file @
ba5c45ef
...
...
@@ -3,7 +3,7 @@
* Author: Yan Morin <yan.morin@savoirfairelinux.com>
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
src/audio/alaw.cpp
View file @
ba5c45ef
...
...
@@ -5,7 +5,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
src/audio/alaw.h
View file @
ba5c45ef
...
...
@@ -5,7 +5,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
src/audio/audiocodec.cpp
View file @
ba5c45ef
...
...
@@ -5,7 +5,7 @@
*
* This is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version
2
,
* published by the Free Software Foundation; either version
3
,
* or (at your option) any later version.
*
* This is distributed in the hope that it will be useful, but
...
...
src/audio/audiocodec.h
View file @
ba5c45ef
...
...
@@ -5,7 +5,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
src/audio/audiodevice.cpp
View file @
ba5c45ef
...
...
@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
src/audio/audiodevice.h
View file @
ba5c45ef
...
...
@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
src/audio/audiofile.cpp
View file @
ba5c45ef
...
...
@@ -8,7 +8,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
src/audio/audiofile.h
View file @
ba5c45ef
...
...
@@ -8,7 +8,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
src/audio/audioloop.cpp
View file @
ba5c45ef
...
...
@@ -8,7 +8,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
src/audio/audioloop.h
View file @
ba5c45ef
...
...
@@ -7,7 +7,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
src/audio/codecDescriptor.h
View file @
ba5c45ef
...
...
@@ -5,7 +5,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
src/audio/common.h
View file @
ba5c45ef
...
...
@@ -4,7 +4,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
src/audio/dtmf.cpp
View file @
ba5c45ef
...
...
@@ -8,7 +8,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
src/audio/dtmf.h
View file @
ba5c45ef
...
...
@@ -8,7 +8,7 @@
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version
2
of the License, or
* the Free Software Foundation; either version
3
of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
...
...
src/audio/dtmfgenerator.cpp
View file @
ba5c45ef
...
...
@@ -7,7 +7,7 @@
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Library General Public License as published by
* the Free Software Foundation; either version
2
of the License, or (at your
* the Free Software Foundation; either version
3
of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
...
...
src/audio/dtmfgenerator.h
View file @
ba5c45ef
...
...
@@ -7,7 +7,7 @@
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Library General Public License as published by
* the Free Software Foundation; either version
2
of the License, or (at your
* the Free Software Foundation; either version
3
of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
...
...
src/audio/g711.cpp
View file @
ba5c45ef
...
...
@@ -8,7 +8,7 @@
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Library General Public License as published by
* the Free Software Foundation; either version
2
of the License, or (at your
* the Free Software Foundation; either version
3
of the License, or (at your