diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/empathy-preferences.c | 8 | ||||
-rw-r--r-- | src/empathy-preferences.ui | 13 |
2 files changed, 21 insertions, 0 deletions
diff --git a/src/empathy-preferences.c b/src/empathy-preferences.c index e593c6f76..5618caeaf 100644 --- a/src/empathy-preferences.c +++ b/src/empathy-preferences.c @@ -88,6 +88,7 @@ struct _EmpathyPreferencesPriv { GtkWidget *scale_call_volume; GtkWidget *adj_call_volume; + GtkWidget *echo_cancellation; GtkWidget *treeview_spell_checker; @@ -280,6 +281,12 @@ preferences_setup_widgets (EmpathyPreferences *preferences) "value", G_SETTINGS_BIND_DEFAULT); + g_settings_bind (priv->gsettings_call, + EMPATHY_PREFS_CALL_ECHO_CANCELLATION, + priv->echo_cancellation, + "active", + G_SETTINGS_BIND_DEFAULT); + g_settings_bind (priv->gsettings, EMPATHY_PREFS_AUTOCONNECT, priv->checkbutton_autoconnect, @@ -1197,6 +1204,7 @@ empathy_preferences_init (EmpathyPreferences *preferences) "checkbutton_location_resource_gps", &priv->checkbutton_location_resource_gps, "call_volume_scale", &priv->scale_call_volume, "call_volume_adjustment", &priv->adj_call_volume, + "call_echo_cancellation", &priv->echo_cancellation, NULL); g_free (filename); diff --git a/src/empathy-preferences.ui b/src/empathy-preferences.ui index f8dc0a0d3..ab06b21bf 100644 --- a/src/empathy-preferences.ui +++ b/src/empathy-preferences.ui @@ -561,6 +561,19 @@ <property name="position">1</property> </packing> </child> + <child> + <object class="GtkCheckButton" id="call_echo_cancellation"> + <property name="label">_Echo Cancellation</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> </object> </child> </object> |