aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-account-widget.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-04-02 20:56:23 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-04-02 20:56:23 +0800
commit094b72ebfbcc324f980378278e19206b20d5d15e (patch)
tree6da4fd4286c5f3f1a31c56b920180f1f441ce7c5 /libempathy-gtk/empathy-account-widget.c
parentfd3fa32bca7a915619aec8af502b02d2b012b826 (diff)
downloadgsoc2013-empathy-094b72ebfbcc324f980378278e19206b20d5d15e.tar
gsoc2013-empathy-094b72ebfbcc324f980378278e19206b20d5d15e.tar.gz
gsoc2013-empathy-094b72ebfbcc324f980378278e19206b20d5d15e.tar.bz2
gsoc2013-empathy-094b72ebfbcc324f980378278e19206b20d5d15e.tar.lz
gsoc2013-empathy-094b72ebfbcc324f980378278e19206b20d5d15e.tar.xz
gsoc2013-empathy-094b72ebfbcc324f980378278e19206b20d5d15e.tar.zst
gsoc2013-empathy-094b72ebfbcc324f980378278e19206b20d5d15e.zip
Add a widget to configure AIM accounts. Fixes bug #513676 (Andreas Henriksson).
svn path=/trunk/; revision=860
Diffstat (limited to 'libempathy-gtk/empathy-account-widget.c')
-rw-r--r--libempathy-gtk/empathy-account-widget.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index 4550e9ec3..88cb509c1 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -671,6 +671,42 @@ empathy_account_widget_icq_new (McAccount *account)
}
GtkWidget *
+empathy_account_widget_aim_new (McAccount *account)
+{
+ GladeXML *glade;
+ GtkWidget *widget;
+ GtkWidget *spinbutton_port;
+ gchar *filename;
+
+ filename = empathy_file_lookup ("empathy-account-widget-aim.glade",
+ "libempathy-gtk");
+ glade = empathy_glade_get_file (filename,
+ "vbox_aim_settings",
+ NULL,
+ "vbox_aim_settings", &widget,
+ "spinbutton_port", &spinbutton_port,
+ NULL);
+ g_free (filename);
+
+ empathy_account_widget_handle_params (account, glade,
+ "entry_screenname", "account",
+ "entry_password", "password",
+ "entry_server", "server",
+ "spinbutton_port", "port",
+ 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_yahoo_new (McAccount *account)
{
GladeXML *glade;