]> git.0d.be Git - empathy.git/commitdiff
account-widget-sip: add UI to configure the discover-binding param
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 16 Nov 2009 17:36:11 +0000 (17:36 +0000)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 23 Nov 2009 15:06:36 +0000 (16:06 +0100)
libempathy-gtk/empathy-account-widget-sip.c
libempathy-gtk/empathy-account-widget-sip.ui

index 58010f27e0a8231f1ea06cdff23732dbb9c15204..3a50ceda7e00e388fe480c9b0a82ecd495f70722 100644 (file)
@@ -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 (
index e9c8c3682d2d00a840ec2d1053b99286ff1e112c..6471d9c04887a6c051ff07a8a7373f276c978848 100644 (file)
             <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>
@@ -313,6 +313,21 @@ username.</property>
                     <property name="bottom_attach">8</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>