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
76e2c098
Commit
76e2c098
authored
13 years ago
by
Tristan Matthews
Browse files
Options
Downloads
Patches
Plain Diff
* #10725: accountconfigdialog: cleanup logging
parent
d6549681
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gnome/src/config/accountconfigdialog.c
+10
-11
10 additions, 11 deletions
gnome/src/config/accountconfigdialog.c
with
10 additions
and
11 deletions
gnome/src/config/accountconfigdialog.c
+
10
−
11
View file @
76e2c098
...
...
@@ -257,7 +257,7 @@ static GtkWidget* create_basic_tab(const account_t *account)
else
if
(
account_is_IAX
(
account
))
gtk_combo_box_set_active
(
GTK_COMBO_BOX
(
protocol_combo
),
1
);
else
{
DEBUG
(
"Config: Error:
Account protocol not valid"
);
ERROR
(
"
Account protocol not valid"
);
/* Should never come here, add debug message. */
gtk_combo_box_text_append_text
(
GTK_COMBO_BOX_TEXT
(
protocol_combo
),
_
(
"Unknown"
));
gtk_combo_box_set_active
(
GTK_COMBO_BOX
(
protocol_combo
),
2
);
...
...
@@ -430,7 +430,7 @@ cell_edited_cb(GtkCellRendererText *renderer, gchar *path_desc, gchar *text,
GtkTreePath
*
path
=
gtk_tree_path_new_from_string
(
path_desc
);
gint
column
=
GPOINTER_TO_INT
(
g_object_get_data
(
G_OBJECT
(
renderer
),
"column"
));
DEBUG
(
"path desc
in cell_edited_cb
: %s
\n
"
,
text
);
DEBUG
(
"path desc: %s
\n
"
,
text
);
if
((
utf8_case_equal
(
path_desc
,
"0"
))
&&
!
utf8_case_equal
(
text
,
gtk_entry_get_text
(
GTK_ENTRY
(
entry_username
))))
...
...
@@ -448,8 +448,7 @@ static void
editing_started_cb
(
GtkCellRenderer
*
cell
UNUSED
,
GtkCellEditable
*
editable
,
const
gchar
*
path
,
gpointer
data
UNUSED
)
{
DEBUG
(
"Editing started"
);
DEBUG
(
"path desc in editing_started_cb: %s
\n
"
,
path
);
DEBUG
(
"path desc: %s
\n
"
,
path
);
// If we are dealing the first row
if
(
utf8_case_equal
(
path
,
"0"
))
...
...
@@ -584,13 +583,13 @@ static void local_interface_changed_cb(GtkWidget * widget UNUSED, gpointer data
static
void
set_published_addr_manually_cb
(
GtkWidget
*
widget
,
gpointer
data
UNUSED
)
{
if
(
gtk_toggle_button_get_active
(
GTK_TOGGLE_BUTTON
(
widget
)))
{
DEBUG
(
"
Config:
Showing manual publishing options"
);
DEBUG
(
"Showing manual publishing options"
);
gtk_widget_show
(
published_port_label
);
gtk_widget_show
(
published_port_spin_box
);
gtk_widget_show
(
published_address_label
);
gtk_widget_show
(
published_address_entry
);
}
else
{
DEBUG
(
"
Config:
Hiding manual publishing options"
);
DEBUG
(
"Hiding manual publishing options"
);
gtk_widget_hide
(
published_port_label
);
gtk_widget_hide
(
published_port_spin_box
);
gtk_widget_hide
(
published_address_label
);
...
...
@@ -605,7 +604,7 @@ static void use_stun_cb(GtkWidget *widget, gpointer data UNUSED)
return
;
if
(
gtk_toggle_button_get_active
(
GTK_TOGGLE_BUTTON
(
widget
)))
{
DEBUG
(
"
Config:
Showing stun options, hiding Local/Published info"
);
DEBUG
(
"Showing stun options, hiding Local/Published info"
);
gtk_widget_show
(
stun_server_label
);
gtk_widget_show
(
stun_server_entry
);
gtk_widget_set_sensitive
(
stun_server_entry
,
TRUE
);
...
...
@@ -617,7 +616,7 @@ static void use_stun_cb(GtkWidget *widget, gpointer data UNUSED)
gtk_widget_hide
(
published_address_entry
);
gtk_widget_hide
(
published_port_spin_box
);
}
else
{
DEBUG
(
"
Config:
disabling stun options, showing Local/Published info"
);
DEBUG
(
"disabling stun options, showing Local/Published info"
);
gtk_widget_set_sensitive
(
stun_server_entry
,
FALSE
);
gtk_widget_set_sensitive
(
same_as_local_radio_button
,
TRUE
);
gtk_widget_set_sensitive
(
published_addr_radio_button
,
TRUE
);
...
...
@@ -1010,7 +1009,7 @@ GtkWidget* create_published_address(const account_t *account)
GtkWidget
*
create_advanced_tab
(
const
account_t
*
account
)
{
// Build the advanced tab, to appear on the account configuration panel
DEBUG
(
"
Config:
Build advanced tab"
);
DEBUG
(
"Build advanced tab"
);
GtkWidget
*
vbox
=
gtk_box_new
(
GTK_ORIENTATION_VERTICAL
,
10
);
...
...
@@ -1192,10 +1191,10 @@ static void update_account_from_basic_tab(account_t *account)
}
if
(
gtk_toggle_button_get_active
(
GTK_TOGGLE_BUTTON
(
overrtp
)))
{
DEBUG
(
"
Config:
Set dtmf over rtp"
);
DEBUG
(
"Set dtmf over rtp"
);
account_replace
(
account
,
ACCOUNT_DTMF_TYPE
,
OVERRTP
);
}
else
{
DEBUG
(
"
Config:
Set dtmf over sip"
);
DEBUG
(
"Set dtmf over sip"
);
account_replace
(
account
,
ACCOUNT_DTMF_TYPE
,
SIPINFO
);
}
...
...
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