aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-account-widget.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-02-20 23:44:18 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-02-20 23:44:18 +0800
commit06bf7c534fd270bfac0d20876f121cd8fd8cb9b8 (patch)
tree0882a371e7846367c19a6189c9ddcd2aeebfdcb9 /libempathy-gtk/empathy-account-widget.c
parent5c02b9d19174d08134091edb7ef4be32aad46073 (diff)
downloadgsoc2013-empathy-06bf7c534fd270bfac0d20876f121cd8fd8cb9b8.tar
gsoc2013-empathy-06bf7c534fd270bfac0d20876f121cd8fd8cb9b8.tar.gz
gsoc2013-empathy-06bf7c534fd270bfac0d20876f121cd8fd8cb9b8.tar.bz2
gsoc2013-empathy-06bf7c534fd270bfac0d20876f121cd8fd8cb9b8.tar.lz
gsoc2013-empathy-06bf7c534fd270bfac0d20876f121cd8fd8cb9b8.tar.xz
gsoc2013-empathy-06bf7c534fd270bfac0d20876f121cd8fd8cb9b8.tar.zst
gsoc2013-empathy-06bf7c534fd270bfac0d20876f121cd8fd8cb9b8.zip
Add GUI to configure ICQ accounts. Fixes bug #513673 (Andreas Henriksson).
svn path=/trunk/; revision=656
Diffstat (limited to 'libempathy-gtk/empathy-account-widget.c')
-rw-r--r--libempathy-gtk/empathy-account-widget.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index f161a6788..b65219775 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -557,3 +557,36 @@ empathy_account_widget_jabber_new (McAccount *account)
return widget;
}
+GtkWidget *
+empathy_account_widget_icq_new (McAccount *account)
+{
+ GladeXML *glade;
+ GtkWidget *widget;
+ GtkWidget *spinbutton_port;
+
+ glade = empathy_glade_get_file ("empathy-account-widget-icq.glade",
+ "vbox_icq_settings",
+ NULL,
+ "vbox_icq_settings", &widget,
+ "spinbutton_port", &spinbutton_port,
+ NULL);
+
+ empathy_account_widget_handle_params (account, glade,
+ "entry_uin", "account",
+ "entry_password", "password",
+ "entry_server", "server",
+ "spinbutton_port", "port",
+ "entry_charset", "charset",
+ NULL);
+
+ emapthy_account_widget_add_forget_button (account, glade,
+ "button_forget",
+ "entry_password");
+
+ g_object_unref (glade);
+
+ gtk_widget_show (widget);
+
+ return widget;
+}
+