]> git.0d.be Git - empathy.git/commitdiff
account-widget-sip: add UI to configure the loose-routine param
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 16 Nov 2009 17:32:08 +0000 (17:32 +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 f9060de2782a71e1e76154e5625c26777dec9c5a..58010f27e0a8231f1ea06cdff23732dbb9c15204 100644 (file)
@@ -113,6 +113,7 @@ empathy_account_widget_sip_build (EmpathyAccountWidget *self,
           "entry_auth-user", "auth-user",
           "entry_proxy-host", "proxy-host",
           "spinbutton_port", "port",
+          "checkbutton_loose-routing", "loose-routing",
           NULL);
 
       account_widget_sip_discover_stun_toggled_cb (
index 68580b584512c34fbac1d812f078756a3c0e5423..e9c8c3682d2d00a840ec2d1053b99286ff1e112c 100644 (file)
             <child>
               <object class="GtkTable" id="table_advanced_sip_settings">
                 <property name="visible">True</property>
-                <property name="n_rows">7</property>
+                <property name="n_rows">8</property>
                 <property name="n_columns">2</property>
                 <property name="column_spacing">6</property>
                 <property name="row_spacing">6</property>
@@ -298,6 +298,21 @@ username.</property>
                     <property name="bottom_attach">7</property>
                   </packing>
                 </child>
+                <child>
+                  <object class="GtkCheckButton" id="checkbutton_loose-routing">
+                    <property name="label" translatable="yes">Loose Routing</property>
+                    <property name="visible">True</property>
+                    <property name="can_focus">True</property>
+                    <property name="receives_default">False</property>
+                    <property name="tooltip_text" translatable="yes">Use the loose routing behavior and the Route header as recommended in RFC 3261.</property>
+                    <property name="draw_indicator">True</property>
+                  </object>
+                  <packing>
+                    <property name="right_attach">2</property>
+                    <property name="top_attach">7</property>
+                    <property name="bottom_attach">8</property>
+                  </packing>
+                </child>
                 <child>
                   <placeholder/>
                 </child>