aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-17 01:36:11 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-23 23:06:36 +0800
commitaa9f5c39b0600d7cba3d63124d8d7018e63209f1 (patch)
treef843f4a6ece13c84ddaaf44e5ecbd4bbe528bdc8
parentb212a106ec0395c312ea9e1242d6ed684729ff9f (diff)
downloadgsoc2013-empathy-aa9f5c39b0600d7cba3d63124d8d7018e63209f1.tar
gsoc2013-empathy-aa9f5c39b0600d7cba3d63124d8d7018e63209f1.tar.gz
gsoc2013-empathy-aa9f5c39b0600d7cba3d63124d8d7018e63209f1.tar.bz2
gsoc2013-empathy-aa9f5c39b0600d7cba3d63124d8d7018e63209f1.tar.lz
gsoc2013-empathy-aa9f5c39b0600d7cba3d63124d8d7018e63209f1.tar.xz
gsoc2013-empathy-aa9f5c39b0600d7cba3d63124d8d7018e63209f1.tar.zst
gsoc2013-empathy-aa9f5c39b0600d7cba3d63124d8d7018e63209f1.zip
account-widget-sip: add UI to configure the discover-binding param
-rw-r--r--libempathy-gtk/empathy-account-widget-sip.c1
-rw-r--r--libempathy-gtk/empathy-account-widget-sip.ui17
2 files changed, 17 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-account-widget-sip.c b/libempathy-gtk/empathy-account-widget-sip.c
index 58010f27e..3a50ceda7 100644
--- a/libempathy-gtk/empathy-account-widget-sip.c
+++ b/libempathy-gtk/empathy-account-widget-sip.c
@@ -114,6 +114,7 @@ empathy_account_widget_sip_build (EmpathyAccountWidget *self,
"entry_proxy-host", "proxy-host",
"spinbutton_port", "port",
"checkbutton_loose-routing", "loose-routing",
+ "checkbutton_discover-binding", "discover-binding",
NULL);
account_widget_sip_discover_stun_toggled_cb (
diff --git a/libempathy-gtk/empathy-account-widget-sip.ui b/libempathy-gtk/empathy-account-widget-sip.ui
index e9c8c3682..6471d9c04 100644
--- a/libempathy-gtk/empathy-account-widget-sip.ui
+++ b/libempathy-gtk/empathy-account-widget-sip.ui
@@ -134,7 +134,7 @@
<child>
<object class="GtkTable" id="table_advanced_sip_settings">
<property name="visible">True</property>
- <property name="n_rows">8</property>
+ <property name="n_rows">9</property>
<property name="n_columns">2</property>
<property name="column_spacing">6</property>
<property name="row_spacing">6</property>
@@ -314,6 +314,21 @@ username.</property>
</packing>
</child>
<child>
+ <object class="GtkCheckButton" id="checkbutton_discover-binding">
+ <property name="label" translatable="yes">Discover Binding</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">False</property>
+ <property name="tooltip_text" translatable="yes">Update the registration binding if the external address for the client is discovered to be different from the local binding.</property>
+ <property name="draw_indicator">True</property>
+ </object>
+ <packing>
+ <property name="right_attach">2</property>
+ <property name="top_attach">8</property>
+ <property name="bottom_attach">9</property>
+ </packing>
+ </child>
+ <child>
<placeholder/>
</child>
</object>