diff options
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-account-widget-sip.c | 2 | ||||
-rw-r--r-- | libempathy-gtk/empathy-account-widget-sip.ui | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-account-widget-sip.c b/libempathy-gtk/empathy-account-widget-sip.c index 05be1b874..ed2f44529 100644 --- a/libempathy-gtk/empathy-account-widget-sip.c +++ b/libempathy-gtk/empathy-account-widget-sip.c @@ -174,6 +174,8 @@ empathy_account_widget_sip_build (EmpathyAccountWidget *self, "checkbutton_discover-binding", "discover-binding", "spinbutton_keepalive-interval", "keepalive-interval", "checkbutton_ignore-tls-errors", "ignore-tls-errors", + "entry_local-ip-address", "local-ip-address", + "spinbutton_local-port", "local-port", 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 e86e58850..4104572d1 100644 --- a/libempathy-gtk/empathy-account-widget-sip.ui +++ b/libempathy-gtk/empathy-account-widget-sip.ui @@ -16,6 +16,11 @@ <property name="step_increment">1</property> <property name="page_increment">10</property> </object> + <object class="GtkAdjustment" id="adjustment4"> + <property name="upper">65535</property> + <property name="step_increment">1</property> + <property name="page_increment">10</property> + </object> <object class="GtkVBox" id="vbox_sip_settings"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -205,6 +210,16 @@ </packing> </child> <child> + <object class="GtkEntry" id="entry_local-ip-address"> + <property name="visible">True</property> + <property name="can_focus">True</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">14</property> + </packing> + </child> + <child> <object class="GtkLabel" id="label_nat_traversal"> <property name="visible">True</property> <property name="can_focus">False</property> @@ -515,6 +530,50 @@ <property name="top_attach">5</property> </packing> </child> + <child> + <object class="GtkAlignment" id="alignment16"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="left_padding">12</property> + <child> + <object class="GtkLabel" id="label_local-ip-address"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Local IP Address:</property> + <property name="mnemonic_widget">entry_local-ip-address</property> + </object> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">14</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="label_local-port"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="xalign">0</property> + <property name="label" translatable="yes">Port:</property> + <property name="mnemonic_widget">spinbutton_local-port</property> + </object> + <packing> + <property name="left_attach">2</property> + <property name="top_attach">14</property> + </packing> + </child> + <child> + <object class="GtkSpinButton" id="spinbutton_local-port"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="adjustment">adjustment4</property> + </object> + <packing> + <property name="left_attach">3</property> + <property name="top_attach">14</property> + </packing> + </child> </object> </child> </object> |