aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-account-widget.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-02-20 23:51:45 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-02-20 23:51:45 +0800
commitf2411ed2aa83dcce8c90f522610a0e6b1b163ecf (patch)
treef50f425c64bc6b2a96c864416499eeb2cc9d39bc /libempathy-gtk/empathy-account-widget.c
parentb475eb55433973617e174bf32a41f5056c8a377c (diff)
downloadgsoc2013-empathy-f2411ed2aa83dcce8c90f522610a0e6b1b163ecf.tar
gsoc2013-empathy-f2411ed2aa83dcce8c90f522610a0e6b1b163ecf.tar.gz
gsoc2013-empathy-f2411ed2aa83dcce8c90f522610a0e6b1b163ecf.tar.bz2
gsoc2013-empathy-f2411ed2aa83dcce8c90f522610a0e6b1b163ecf.tar.lz
gsoc2013-empathy-f2411ed2aa83dcce8c90f522610a0e6b1b163ecf.tar.xz
gsoc2013-empathy-f2411ed2aa83dcce8c90f522610a0e6b1b163ecf.tar.zst
gsoc2013-empathy-f2411ed2aa83dcce8c90f522610a0e6b1b163ecf.zip
Add a GUI to configure yahoo accounts. Fixes bug #513674 (Susana).
svn path=/trunk/; revision=658
Diffstat (limited to 'libempathy-gtk/empathy-account-widget.c')
-rw-r--r--libempathy-gtk/empathy-account-widget.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-account-widget.c b/libempathy-gtk/empathy-account-widget.c
index b65219775..267c95115 100644
--- a/libempathy-gtk/empathy-account-widget.c
+++ b/libempathy-gtk/empathy-account-widget.c
@@ -590,3 +590,38 @@ empathy_account_widget_icq_new (McAccount *account)
return widget;
}
+GtkWidget *
+empathy_account_widget_yahoo_new (McAccount *account)
+{
+ GladeXML *glade;
+ GtkWidget *widget;
+
+ glade = empathy_glade_get_file ("empathy-account-widget-yahoo.glade",
+ "vbox_yahoo_settings",
+ NULL,
+ "vbox_yahoo_settings", &widget,
+ NULL);
+
+ empathy_account_widget_handle_params (account, glade,
+ "entry_id", "account",
+ "entry_password", "password",
+ "entry_server", "server",
+ "entry_serverjp", "serverjp",
+ "entry_locale", "room-list-locale",
+ "entry_charset", "charset",
+ "spinbutton_port", "port",
+ "checkbutton_yahoojp", "yahoojp",
+ "checkbutton_ignore_invites", "ignore-invites",
+ NULL);
+
+ emapthy_account_widget_add_forget_button (account, glade,
+ "button_forget",
+ "entry_password");
+
+ g_object_unref (glade);
+
+ gtk_widget_show (widget);
+
+ return widget;
+}
+