aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-account-widget.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-03-25 16:53:59 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-03-25 16:53:59 +0800
commit9d8e0c6767a613f25030f7c8898a8e7a678e0664 (patch)
tree310155b3da59ce5d5fc0d3ad70a8fe2edce67266 /libempathy-gtk/empathy-account-widget.c
parent442ba1971b777a8d76589e2fb13cdb8af5a6e74a (diff)
downloadgsoc2013-empathy-9d8e0c6767a613f25030f7c8898a8e7a678e0664.tar
gsoc2013-empathy-9d8e0c6767a613f25030f7c8898a8e7a678e0664.tar.gz
gsoc2013-empathy-9d8e0c6767a613f25030f7c8898a8e7a678e0664.tar.bz2
gsoc2013-empathy-9d8e0c6767a613f25030f7c8898a8e7a678e0664.tar.lz
gsoc2013-empathy-9d8e0c6767a613f25030f7c8898a8e7a678e0664.tar.xz
gsoc2013-empathy-9d8e0c6767a613f25030f7c8898a8e7a678e0664.tar.zst
gsoc2013-empathy-9d8e0c6767a613f25030f7c8898a8e7a678e0664.zip
Add a widget to configure SIP accounts. Fixes bug #513679 (Baptiste Mille-Mathias).
svn path=/trunk/; revision=823
Diffstat (limited to 'libempathy-gtk/empathy-account-widget.c')
-rw-r--r--libempathy-gtk/empathy-account-widget.c49
1 files changed, 49 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 1519a2f5a..a22949235 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -538,6 +538,55 @@ empathy_account_widget_msn_new (McAccount *account)
}
GtkWidget *
+empathy_account_widget_sip_new (McAccount *account)
+{
+ GladeXML *glade;
+ GtkWidget *widget;
+ gchar *filename;
+
+ filename = empathy_file_lookup ("empathy-account-widget-sip.glade",
+ "libempathy-gtk");
+
+ glade = empathy_glade_get_file (filename,
+ "vbox_sip_settings",
+ NULL,
+ "vbox_sip_settings", &widget,
+ NULL);
+
+ g_free (filename);
+
+ empathy_account_widget_handle_params (account, glade,
+ "entry_userid", "account",
+ "entry_password", "password",
+ "entry_registar", "registar",
+ "entry_proxy","proxy-host",
+ "spinbutton_port", "port",
+ "entry_transport", "transport",
+ "checkbutton_discover-binding","discover-binding",
+ "entry_keepalive-mechanism", "keepalive-mechanism",
+ "entry_keepalive-interval", "keepalive-interval",
+ "checkbutton_discover-stun", "discover-stun",
+ "entry_stun-server", "stun-server",
+ "spinbutton_stun-port", "stun-port",
+ "entry_local-ip", "local-ip-address",
+ "spinbutton_local-port", "local-port",
+ "entry_extra-auth-user", "extra-auth-user",
+ "entry_extra-auth-password", "extra-auth-password",
+ "checkbutton_avoid-difficult", "avoid-difficult",
+ NULL);
+
+ empathy_account_widget_add_forget_button (account, glade,
+ "button_forget",
+ "entry_password");
+
+ g_object_unref (glade);
+
+ gtk_widget_show (widget);
+
+ return widget;
+}
+
+GtkWidget *
empathy_account_widget_jabber_new (McAccount *account)
{
GladeXML *glade;