From 4851668926c7fcba3efe189869998e0d37f20d12 Mon Sep 17 00:00:00 2001 From: Laurent Date: Sun, 1 Apr 2012 12:46:21 +0200 Subject: Added support for local IP address and port in SIP account settings widget. https://bugzilla.gnome.org/show_bug.cgi?id=669134 --- libempathy-gtk/empathy-account-widget-sip.c | 2 + libempathy-gtk/empathy-account-widget-sip.ui | 59 ++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) (limited to 'libempathy-gtk') 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 @@ 1 10 + + 65535 + 1 + 10 + True False @@ -204,6 +209,16 @@ 3 + + + True + True + + + 1 + 14 + + True @@ -515,6 +530,50 @@ 5 + + + True + False + 12 + + + True + False + 0 + Local IP Address: + entry_local-ip-address + + + + + 0 + 14 + + + + + True + False + 0 + Port: + spinbutton_local-port + + + 2 + 14 + + + + + True + True + adjustment4 + + + 3 + 14 + + -- cgit v1.2.3